:root {
    /* Define global custom properties (colors, spacing, etc.) */
    --primary-clr: #f05b8c;
    --secondary-clr: #3cc1f1;
    --yellow: #fe9520;
    --green: #09b22d;
    --dark-pink: #832766;
    --dark-secondary: #01627c;
    --dark-clr: #171e35;
    --white-clr: #fff;
    --spacer: 60px;
    --spacer-sm: 30px;
    --spacer-lg: 90px;
    --text-light: var(--white-clr);
    --text-dark: #000;
    --bg-light: #f9f9f9;
    --bg-dark: #101010;
    --border-clr: #82dfff
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.form-select {
    border-radius: 35px !important;
    padding: 9px 36px 9px 16px !important;
    /* text-align: center !important; */
    background-color: var(--primary-clr) !important;
    color: var(--white-clr) !important;
    width: 238px !important;
    box-shadow: none !important;
}

.form-select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23ffffff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e") !important;
}


/* Support for Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-clr: #d14f76;
        --secondary-clr: #2ba7d1;
        --dark-clr: #0f141e;
        --text-light: #e0e0e0;
        --text-dark: #f9f9f9;
        --bg-light: #1c1c1c;
        --bg-dark: #0d0d0d;
    }


}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 20px 20px #ffffff00;
}

input:checked[type="checkbox"] {
    background-color: var(--primary-clr);
    border-color: var(--primary-clr);
    box-shadow: none;
}

.error-message {
    color: red;
    font-size: 13px;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: var(--spacer);
    gap: var(--spacer);
}

/* Login Page Layout */
.login-container {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    padding: var(--spacer-sm);
}

/* Login Description */
.login-description {
    max-width: 400px;
    text-align: center;
}

.login-description img {
    max-width: 220px;

}

.login-description h1 {
    color: var(--primary-clr);
    font-size: 18px;
}

.login-description p {
    font-size: 1rem;
    line-height: 1.5;
}

.login-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    width: 100%;
    max-width: 425px;
}



/*Inputs*/
.field {
    /* width: 270px; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    border: 2px solid var(--secondary-clr);
    border-radius: 30px;
    padding: .6em 1em !important;
}

.field1 {
    /* width: 270px; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    border: 2px solid var(--secondary-clr);
    border-radius: 30px;
    padding: .6em 1em !important;
}

.field1 input::placeholder,
.field1 textarea::placeholder {
    color: var(--placeholder-clr, #fff);
}

.input-icon {
    color: var(--secondary-clr);
    /* height: 1em;
    width: 1em;
    fill: var(--secondary-clr); */
}

.input-field {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    color: var(--primary-clr);
    font-size: large;
}

.input-field::placeholder {
    color: var(--border-clr) !important;
}

.input-field-password {
    -webkit-text-security: disc;
    font-size: large;
    background: none;
    border: none;
    outline: none;
    width: 100%;
    color: var(--dark-secondary);
    -moz-appearance: textfield;
    -webkit-appearance: none;
    appearance: none;
}

.input-field-password::-webkit-outer-spin-button,
.input-field-password::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-field-number {
    font-size: large;
    background: none;
    border: none;
    outline: none;
    width: 100%;
    color: var(--dark-secondary);
}

.input-field-number::placeholder {
    color: var(--border-clr) !important;
}

.input-field-number::-webkit-outer-spin-button,
.input-field-number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* Link text */
.link-underline {
    text-decoration: none;
    color: #000
}


/*Buttons*/
.login-btn {
    cursor: pointer;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 14px;
    background-color: var(--secondary-clr);
    color: var(--white-clr);
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.356);
    transition: all .3s ease-in-out;
}

/*Hover & focus*/
.field input:focus::placeholder {
    opacity: 0;
    transition: opacity .2s;
}

.login-btn:hover {
    background-color: var(--primary-clr);
    color: var(--white-clr);
    box-shadow: 0 8px 24px 0 rgb(16 39 112 / 20%);
}

.signup-link {
    text-decoration: none;
    font-weight: bold;
    color: var(--primary-clr);
    font-size: 16px;
}

.social-login {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;

}

.social-login img {
    cursor: pointer;

}

.bottom-line {
    width: 100%;
    position: fixed;
    bottom: 0;
    height: 13px;
    background-color: var(--dark-secondary);
    z-index: 1000;
}

/* Register */
.parent-register-wrapper {
    background: var(--primary-clr);
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    /* overflow: hidden;
    overflow-y: auto; */
}

.register-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-clr);
    padding: var(--spacer-sm);
    /* max-width: 1024px; */
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scrollbar-width: none;
    z-index: 1;

}

.scrollable-content {
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    width: 100%;
    /* padding: 15px; */
    align-items: center;
    scrollbar-width: none;
}

.register-input-wrapper {
    width: 100%;
    max-width: 425px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    scroll-behavior: smooth;
}

.register-input-wrapper div {
    border: 2px solid var(--border-clr);
}

.register-input-wrapper input {
    color: #fff;
}

.register-input-wrapper button {
    background: var(--primary-clr);
}

.register-input-wrapper svg {
    color: var(--border-clr);
    width: 32px;
}

.register-description {
    font-size: 18px;
    font-weight: bold;
    color: var(--white-clr);
    padding: var(--spacer-sm);
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;

}

.register-description-end {
    font-size: 18px;
    font-weight: bold;
    color: var(--white-clr);
    padding: var(--spacer-sm);
}

/* Register end */
/* home */
.nav-title {
    flex-grow: 1;
    text-align: center;
    margin-left: 40px;
}

.home-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-clr);
    /* max-width: 1024px; */
    width: 100vw;
    height: 100vh;


}

.home-inside-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url(/mainIcons/homeBg.png) !important;
    height: 100%;
    width: 100%;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: top !important;
    padding: var(--spacer-sm)
}

.home-btn {
    padding: 15px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    border: none;
    box-shadow: 0 8px 6px 0px rgb(16 39 112 / 15%);
    color: var(--white-clr);
    font-size: 16px;
    font-weight: 600;
    font-size: 16px;
}

.btn-1 {
    background-color: var(--green);

}

.btn-2 {
    background-color: var(--dark-secondary)
}

.btn-3 {
    background-color: var(--yellow);
}

.btn-4 {
    background-color: var(--dark-pink)
}

/* children */
.children-wrapper {
    display: flex;
    overflow-y: scroll;
    flex-direction: column;
    /* align-items: center; */
    justify-content: space-between;
    background-color: var(--secondary-clr);
    height: 100%;
    width: 100%;
    padding: var(--spacer-sm);
    color: var(--white-clr);
    scrollbar-width: none;
}

.children-card-body {
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    color: var(--white-clr);
}

.children-card-body .child_list_images img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 50%;
    max-width: 100%;
}



.arrived-title {
    color: var(--white-clr);
}

.arrived-icons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-width: 80px
}

.arrived-icons img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    object-fit: contain;
}

.primary-button {
    cursor: pointer;
    border: 2px solid var(--white-clr);
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 12px 20px;
    background-color: var(--primary-clr);
    color: var(--white-clr);
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.356);
    transition: all .3s ease-in-out;
    max-width: 1024px;


}

.primary-button:hover {
    border: 2px solid var(--primary-clr);
    background-color: var(--white-clr);
    color: var(--bg-dark);
    box-shadow: 0 8px 24px 0 rgb(16 39 112 / 20%);
}

.add-child-btn-wrapper {
    display: flex;
    background-color: var(--secondary-clr);
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 5px 0px 15px 0px;
}

/* add-children  */
.main-wrapper {
    background: var(--primary-clr);
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: none;
}

.field-add-child {
    max-width: 768px;
    flex-basis: calc(50% - 8px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    color: var(--white-clr);
    border: 1px solid var(--white-clr);
    border-radius: 30px;
    padding: .5em 1em !important;
    background-color: var(--primary-clr);
}

input::placeholder {
    color: #ff93b5 !important;
}

.add-child-input-field {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    color: var(--white-clr);
    box-shadow: none !important;
}

.add-child-input-field::placeholder {
    color: var(--white-clr);
}

.sent-messageWrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 1024px;
    margin-top: 20px;
}

.sent-messageWrapper textarea {
    border-radius: 10px !important;
    color: var(--white-clr);
    width: 100%;
}

.sent-messageWrapper textarea::placeholder {
    color: var(--white-clr);
}

/* Support for Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-clr: #d14f76;
        --secondary-clr: #2ba7d1;
        --dark-clr: #0f141e;
        --text-light: #e0e0e0;
        --text-dark: #f9f9f9;
        --bg-light: #1c1c1c;
        --bg-dark: #0d0d0d;
    }

}

.buttons_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

ul.allergy-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

ul.allergy-list li {
    flex-basis: calc(50% - 4px);
}

ul.allergy-list .form-check {
    margin-bottom: 0px;
}

.flex-between-blk {
    display: flex;
    gap: 16px;
    flex-direction: column;
}

.common-field-blk {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.input_fields input,
.form-control {
    color: var(--white-clr) !important;
    border: 1px solid var(--white-clr) !important;
    border-radius: 30px !important;
    padding: .5em 1em !important;
    background-color: var(--primary-clr) !important;
}

.input_title h3 {
    font-size: 16px;
}

.common_btn_stye {
    padding: 5px 20px;
    border: 1px solid var(--bs-white);
    background-color: var(--primary-clr);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bs-white);
    box-shadow: 0px 5px 6px rgba(0, 0, 0, 0.25);
}

.sub_heading {
    margin: 15px 0px;
}

.sub_heading h2 {
    font-size: 18px;
    margin-bottom: 0px;
}

ul.allergy-list .form-check input:checked[type="checkbox"] {
    background-color: var(--primary-clr);
    border-color: var(--primary-clr);
    box-shadow: none;
}

.child_image {
    width: 100%;
    display: flex;
    position: absolute;
    background: #fff;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    bottom: -3px;
    left: -9px;
    cursor: pointer;

    background: rgba(0, 0, 0, 0.45);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

}

.edit_icon {
    width: 23px !important;
    height: 23px !important;
}

/* teacher management */
.main-wrapper {
    background: var(--primary-clr);
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.main-inside-wrapper {
    display: flex;
    overflow-y: scroll;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--secondary-clr);
    height: 100%;
    width: 100%;
    padding: var(--spacer-sm);
    color: var(--white-clr);
    scrollbar-width: none;
}

/* end teacher */

.logout-wrapper {
    width: 100%;
    height: 100%;
}

.logout-wrapper img {
    width: 40px;
    height: 40px;
    cursor: pointer;
}


.react-tel-input .form-control {
    border: none !important;
    background: transparent !important;
    padding: none !important;
    width: 100% !important;
    background-color: none !important;
    margin-left: 20px !important;
    font-weight: 500 !important;
    font-family: 'Poppins' !important;
    font-size: 18px !important;
    color: #fff !important;
}

.react-tel-input {
    border: none !important;
}

.react-tel-input .flag-dropdown {
    background-color: transparent !important;
    border: 0px !important;
    outline: none !important;
}

.react-tel-input .form-control::placeholder {
    color: #fff !important;
}

.react-tel-input .selected-flag {
    padding: 0 0 0 0 !important;
    border: 0px !important;
}

.react-tel-input .selected-flag:focus:before,
.react-tel-input .selected-flag.open:before {
    border-color: transparent !important;
    border: 0px !important;
    box-shadow: none !important;
}

.react-tel-input .form-control:focus {
    background-color: transparent !important;
    border-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.react-tel-input .selected-flag:hover,
.react-tel-input .selected-flag:focus {
    background-color: transparent !important;
    border: 0px !important;
}

.react-tel-input .flag-dropdown.open .selected-flag {
    background: transparent !important;
    border: 0px !important;
}

.react-tel-input .country-list {
    scrollbar-width: none !important;
    border-radius: 10px !important;
    padding: 10px 0px !important;
    max-height: 230px !important;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.35) !important;
    font-family: "Poppins" !important;
}

.child-notify-img {
    width: 100%;
    display: flex;
    justify-content: center;
}

.child-notify-img img {
    width: 150px;
    height: 148px;
    border-radius: 50%;
    border: solid #d14f76 4px;
    border-block: none;
    padding: 4px;
    object-fit: cover;
}

.child-notify-span {
    width: 100%;
    max-width: 200px;
    display: flex;
    justify-content: center;

}

.child-notify-span span {
    font-size: 18px;
    font-weight: 600;

}

.nice-dates-navigation,
.nice-dates-day {
    color: #111;
}

.nice-dates {
    height: 45px !important;

}

.nice-dates-popover {
    max-width: 350px !important;
    position: unset !important;
}

.nice-dates-day:before,
.nice-dates-day:after {
    border-radius: 0px !important;
}

[dir="rtl"] .nice-dates-navigation_previous:before {
    transform: rotate(45deg) !important;
}

[dir="rtl"] .nice-dates-navigation_next:before {
    transform: rotate(-135deg) !important;
}

.checkbox-container ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.checkbox-container li {
    display: inline-block;
}

.checkbox-container input[type="checkbox"][id^="myCheckbox"] {
    display: none;
}

.checkbox-container label {
    border: 2px solid #fff;
    padding: 4px;
    border-radius: 50%;
    display: block;
    position: relative;
    margin: 10px;
    cursor: pointer;
    transition: border-color 0.4s;
}

.checkbox-container label:before {
    background-color: white;
    color: white;
    content: " ";
    display: block;
    border-radius: 50%;
    border: 1px solid rgb(9, 78, 3);
    position: absolute;
    top: -2px;
    left: 2px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    transition: all 0.4s ease;
    transform: scale(0);
    z-index: 1;
}

.checkbox-container label img {
    height: 100px;
    width: 100px;
    transition: transform 0.2s, box-shadow 0.2s;
    transform-origin: 50% 50%;
    z-index: 0;
    object-fit: cover;
}

.checkbox-container input[type="checkbox"]:checked+label {
    border-color: #ddd;
}

.checkbox-container input[type="checkbox"]:checked+label:before {
    content: "✓";
    background-color: rgb(9, 78, 3);
    transform: scale(1.2);
}

.checkbox-container input[type="checkbox"]:checked+label img {
    transform: scale(1);
    box-shadow: 0 0 5px #333;
}

.allergyList-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 38px;
    align-items: center;
    margin-top: 12px;
    background: transparent;
    box-shadow: inset -4px -4px 10px var(--dark-secondary);
    transition: all 0.2s ease-in-out;
    border-radius: 10px;
    padding: 0px 10px;
    color: var(--text-dark);

}

.allergyList-wrapper img {
    width: 25px;

}

.send-otp-btn {
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    z-index: 1;
}

.login-phone.react-tel-input input {
    color: var(--secondary-clr) !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    height: auto !important;
}

.login-phone.react-tel-input .form-control::placeholder {
    color: var(--border-clr) !important
}

@media screen and (max-width: 550px) {

    .input_fields,
    .form-block,
    .form-block select {
        width: 100% !important;
    }
}

@media screen and (max-width: 480px) {
    .home-btn {
        padding: 8px;
        width: 120px;
        height: 120px;
        font-size: 14px;
    }

    .checkbox-container label img {
        height: 75px;
        width: 75px;
        transition: transform 0.2s, box-shadow 0.2s;
        transform-origin: 50% 50%;
        z-index: 0;
    }

    .checkbox-container label {
        border: 2px solid #fff;
        padding: 0px;
        border-radius: 50%;
        display: block;
        position: relative;
        margin: 10px;
        cursor: pointer;
        transition: border-color 0.4s;
    }

    .parent-details-form div {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .child_image {
        width: 30px;
        height: 30px;
    }

    .children-card-body .child_list_images img {
        width: 70px;
        height: 70px;
    }

    .card-text {
        font-size: 14px;
    }

    .card-text-status:nth-child(even) {
        font-size: 12px !important;
    }

    .card-text-status:nth-child(odd) {
        font-size: 12px !important;

    }
}

.card-text-status:nth-child(even) {
    padding: 2px 6px;
    background-color: #f05b8c;
    border-radius: 20px;
    font-size: 14px;
    border: solid 1px
}

.card-text-status:nth-child(odd) {
    padding: 2px 6px;
    background-color: var(--green);
    border-radius: 20px;
    font-size: 14px;
    border: solid 1px
}

.parent-details-form {
    /* d-flex flex-column align-content-center p-0 gap-3 */
    display: flex;
    flex-direction: column;
    align-content: center;
    gap: 15px;
    padding: 0px;
}

.form-check-input:focus {
    border-color: var(--primary-clr) !important;
    box-shadow: 0 0 0 .25rem #f05b8c !important;
    outline: 0;
}

.form-check-input:checked {
    background-color: var(--primary-clr) !important;
    border-color: var(--primary-clr) !important;
}