@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Ensure body takes the full viewport height */
    margin: 0;
    background-color: #f1f5f8;
}

main {
    flex: 1;
    /* Makes the main content expand to fill available space */
    align-content: center;
}


.bgcolor {
    background: #1c1b29;
}


/* Animate ONLY sections having this class */
.animation-section {
    animation: sectionFadeUp 0.8s ease-out both;
}

/* Animation keyframe */
@keyframes sectionFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container {
    position: relative;
    max-width: 500px;
    width: 100%;
    background: #fff;
    padding: 20px;
    margin: 50px auto;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);

}

.login-container header {
    font-size: 1.5rem;
    color: #333;
    font-weight: 500;
    text-align: center;
    margin-bottom: -10px;
}

.container {
    position: relative;
    max-width: 650px;
    width: 100%;
    background: #fff;
    padding: 20px;
    margin: 50px auto;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);

}

.container header {
    font-size: 1.3rem;
    color: #333;
    font-weight: 500;
    text-align: center;
    margin-bottom: -10px;
}

.container .form {
    margin-top: 30px;
}

.form .form-head {
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: -10px;
    color: #333;
}

.form .input-box {
    width: 100%;
    margin-top: 20px;
}

.input-box label {
    color: #333;
    margin: 10px;
    font-size: 14px;
}

.form :where(.input-box input, .select-box) {
    position: relative;
    height: 40px;
    width: 100%;
    outline: none;
    font-size: 14px;
    color: #707070;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0px 15px;
}


.input-box input:focus {
    border-color: #333;
    /* Darker border color */
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.form .column {
    display: flex;
    column-gap: 15px;
}

.form .gender-box {
    margin-top: 15px;
    padding-left: 7px;
}

.gender-box h3 {
    color: #333;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
}

.form :where(.gender-option, .gender) {
    display: flex;
    align-items: center;
    column-gap: 50px;
    flex-wrap: wrap;
}

.form .gender {
    column-gap: 5px;
}

.gender input {
    accent-color: rgb(130, 106, 251);
}

.form :where(.gender input, .gender label) {
    cursor: pointer;
}

.gender label {
    color: #707070;
    font-size: 14px;
}

.address :where(input, .select-box) {
    margin-top: 15px;
}

.select-box select {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    color: #707070;
    font-size: 1rem;
}

.form button {
    height: 45px;
    width: 100%;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgb(130, 106, 251);
}

.form button:hover {
    background: rgb(88, 56, 250);
}

.input-link {
    display: flex;
    flex-direction: row;

}

.input-link a {
    text-decoration: none;
    color: #3498db;
    margin: 10px;

}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    width: 100%;
    padding-right: 40px;
}

.password-wrapper i {
    position: absolute;
    right: 12px;
    top: 60%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

.password-wrapper i:hover {
    color: #000;
}


/* Jquery date Picker Calender Style Start */

.ui-datepicker .ui-datepicker-title select {
    border: 1px solid #80808073 !important;
    margin: 1px 1px !important;
    border-radius: 3px !important;
    font-size: 13px !important;
    color: #292929 !important;
}

.ui-state-default,
.ui-widget-content .ui-state-default {
    border-radius: 3px !important;
}

.ui-datepicker th {
    padding: .4em .3em !important;
    font-weight: normal !important;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight {
    border: 1px solid #1c1b29 !important;
    background: #1c1b29 !important;
    color: #fff !important;
}
.ui-widget-header{
    background: #1c1b29 !important;
}
.ui-widget-header .ui-icon{
    filter: invert(1) !important;
}

.ui-state-active,
.ui-widget-content .ui-state-active {
    border: 1px solid #357c5c !important;
    background: #136741 !important;
}

/* Jquery date Picker Calender Style End */

.required-label::after {
    content: " *";
    color: red;
    font-weight: bold;
}

/*Responsive*/




@media screen and (max-width: 500px) {

    .input-link {
        flex-direction: column;

    }

    .form .column {
        flex-wrap: wrap;
    }

    .container,
    .login-container {
        width: 96%;
    }

    .form :where(.gender-option, .gender) {
        row-gap: 15px;
    }
}