.form-check-label {
    margin-bottom: 0;
    font-family: 'helvetica_neue_lt_proregular';
    font-weight: 600;
    color: white;
    padding-right: 5px;
}

.loader2 {
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #bca858;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.loader2_text {
    color: #bca858;
}

.btn-dietitian {
    background-color: #ffd50b;
    color: #24745b;
    font-weight: 600;
}

.btn-dietitian:hover {
    background-color: #a7342d;
    color: white;

}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

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

@media only screen and (max-width: 820px) {
    label {
        font-size: 18px !important;
    }
}

.ggg {
    border-radius: 8px; /* Slightly larger radius for a softer look */
    color: white;
    margin-left: 40px;
    width: 85%;
    font-size: 14px;
    letter-spacing: 1px;
    text-align: center;
    height: 40px;
    background-color: #356a63;
    font-family: 'helvetica_neue_lt_proregular', sans-serif; /* Fallback font */
    font-weight: 600;
    border: none; /* Remove default border */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    cursor: pointer; /* Indicate it's clickable */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

/* Hover effect */
.ggg:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

/* Focus effect */
.ggg:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0 0 0 3px rgba(53, 106, 99, 0.3); /* Custom focus ring */
}

/* Active effect */
.ggg:active {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Reset shadow on click */
}

@media only screen and (max-width:991px) {
    .ggg {
        margin-left: 25px;
    }
}

@media only screen and (max-width: 820px) and (orientation: portrait) {
    .ggg {
        margin-left: 0;
        width: 100%;
    }
}

/* General toggle switch styling */
.toggle-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #e5e5e5;
    border-radius: 50px;
    padding: 5px;
    position: relative;
    width: 300px;
    height: 60px; /* Added fixed height */
}

  /* Hide the radio buttons */
.toggle-switch input[type="radio"] {
    display: none;
}
  
/* Label styling */
.toggle-switch label {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    color: #000;
    border-radius: 50px;
    transition: all 0.3s ease;
    line-height: 20px; /* Ensures proper vertical alignment */
    height: 100%; /* Ensures the labels are the same height as the container */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0 !important;
}

/* Active state styling */
.toggle-switch input[type="radio"]:checked + label {
    background-color: #24745b;
    color: white;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}