:root {
    --mainColor: #5d2b85;
    --secondaryColor: #5d2b85;
    --mainGradient: linear-gradient(to right, #5d2b85, #853ec0); 
}

.ms_lay1_card  {
 min-width: 95%; 
}

button {
    background-color: var(--mainColor);
    color: white;
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%; /* Ensures all buttons have the same width */
    text-align: center; /* Centers the text inside the buttons */
  }
  .custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }
  
  /* Style the custom checkbox */
  .custom-checkbox {
    display: flex;
    align-items: center;
    font-family: comfortaa;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    gap: 10px;
  }
  
  /* Checkmark box */
  .custom-checkbox .checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--mainColor);
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
  }
  
  /* Checkmark appearance when checked */
  .custom-checkbox input:checked + .checkmark {
    background-color: var(--mainColor);
    border-color: var(--mainColor);
  }
  
  /* Custom checkmark icon */
  .custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 7px;
    height: 14px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    display: none;
  }
  
  /* Show the checkmark when input is checked */
  .custom-checkbox input:checked + .checkmark::after {
    display: block;
  }
  
  /* Hover and Focus Effects */
  .custom-checkbox:hover .checkmark {
    border-color: var(--secondaryColor);
  }
  
  .custom-checkbox input:focus + .checkmark {
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  }
  .spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid var(--mainColor);
    border-radius: 50%;
    width: 120px;   
    height: 120px;
    animation: spin 2s linear infinite;
    
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

h4 {
  color: white;
}