/* Login Page Specific Styles */
.login-grid-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}
.validation-error-text,
.error-message {
    color: #d72f2f;
    font-size: 13px;
    margin-top: 5px;
    display: block;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

    .validation-error-text:empty,
    .error-message:empty {
        display: none;
    }

.form-input.input-error {
    border: 2px solid #d72f2f;
    background-color: #fff5f5;
}

    .form-input.input-error:focus {
        outline: 2px solid #d72f2f;
        border: 2px solid #d72f2f;
        box-shadow: none;
    }

.password-input-wrapper .form-input.input-error {
    border: 2px solid #d72f2f;
}

span.validation-error-text {
    display: none;
}

    span.validation-error-text:not(:empty) {
        display: block;
    }
.login-grid-stretch {
    flex: 1;
    display: flex;
    place-items: center;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
    overflow: hidden;
}

.login-background {
    background: linear-gradient(#d72f2f 0%, #fff 100%);
    min-height: 100vh;
    max-height: 100vh;
}
.error-message {
    display: none;
    margin-top: 5px;
    font-size: 13px;
    transition: all 0.3s ease;
}

    .error-message.show {
        display: block;
        color: #d72f2f;
        width: 400px;
        background-color: #f9dddd;
        border: 1px solid #d72f2f;
        border-radius: 4px;
        padding: 5px 10px;
    }

.coins {
    position: absolute;
    top: 15%;
    left: 8% ;
    max-width: 50% ;
    z-index: 2 ;
}

.markers-map {
    position: absolute;
    bottom: 0;
    left: 0 ;
    right: 0;
    width: 100% ;
    height: auto;
    z-index: 1 ;
}

.login-joyfullhuman_large {
    position: absolute;
    bottom: 0;
    right: 0 ;
    top: auto;
    transform: translateX(83px);
    z-index: 3;
    max-height: 90vh;
    width: auto;
}

.login-grid-stretch.form-section-small {
    min-height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
/*.int-password{
    position:a;
}
.fa-eye-slash, .fas fa-eye {
    color: aqua;
    margin-top: 30px;
    position: absolute;
    right: 3px;
}*/
.header1.login-new {
    display: flex;
    align-self: flex-start;
}

.login-flex-column {
    display: flex;
    flex-direction: column;
    min-width: 350px;
    gap: 16px;
    margin-top:30%;
    padding: 20px 0;
}
    .login-flex-column > img {
        margin-top: 30%;
    }
    .header1, .link {
        margin: 0 0;
    }

.btn-primary.login {
    text-align: center;
    padding: auto;
    display: flex;
    flex-direction: row;
    column-gap: 10px;
}

.label.login {
    display: flex;
    color: black;
    align-self: flex-start;
}

.register-button {
    width: 312px;
    height: 60px;
    border-radius: 16px;
    border: 1px solid #d72f2f;
    padding: 0 24px;
    background-color: transparent;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    display: flex;
    margin-top: 0;
}

    .register-button > a {
        color: #d72f2f;
        font-family: "poppins";
        font-weight: 600;
        font-size: 18px;
        text-decoration: none;
    }

/* RESPONSIVE FIXES */
@media screen and (max-width: 960px) {
    .login-grid-stretch.login-background {
        position: absolute;
        width: 100%;
        min-height: 100vh;
    }

    .login-grid-stretch.form-section-small .login-flex-column {
        background: #fff;
        padding: 32px;
        width: auto;
        border-radius: 32px;
        background: linear-gradient(to right bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2));
        backdrop-filter: blur(1rem);
    }

    .markers-map {
        position: fixed;
        bottom: 0;
    }

    .login-joyfullhuman_large {
        position: fixed;
        bottom: 0;
    }
}

@media screen and (max-width: 768px) {
    .login-grid-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .login-grid-stretch {
        flex-direction: column;
    }

        .login-grid-stretch.form-section-small .login-flex-column {
            width: 70%;
            backdrop-filter: blur(0.25rem);
            margin-top: 60px;
            gap: 14px;
            display: flex;
            align-items: center;
            margin-left: 160px;
        }

    .input-field > input {
        height: 50px;
    }

    .register-button {
        height: 50px;
    }

        .register-button > a {
            font-size: 16px;
        }

    .btn.btn-primary {
        margin-top: 12px;
        height: 45px;
        border-radius: 10px;
    }

    .login-grid-stretch.login-background {
        align-items: center;
        position: fixed;
        height: 100vh;
    }

    .login-joyfullhuman_large {
        left: -212px;
        top: 31.5%;
        bottom: auto;
        transform: none;
        z-index: 100;
        position: fixed;
    }

    .markers-map {
        position: fixed;
        bottom: 0;
    }

    .center-align.login-frame {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 540px) {
    .login-grid-container {
        height: 100%;
    }

    .login-grid-stretch.form-section-small .login-flex-column {
        width: 90%;
        backdrop-filter: blur(0.25rem);
        align-items: center;
        margin-left: 1px;
    }

    .login-joyfullhuman_large {
        display: none;
    }

    .markers-map {
        display: block;
        position: fixed;
        bottom: 0;
    }
}

@media screen and (max-width: 480px) {
    .coins {
        max-width: 70px !important;
        top: 10% !important;
    }

    .login-flex-column {
        min-width: 300px;
    }

    .login-grid-stretch.form-section-small .login-flex-column {
        backdrop-filter: blur(0.15rem);
        height: fit-content;
        margin-top: 20px;
    }

    .login-joyfullhuman_large {
        max-height: 50vh !important;
    }
}

@media screen and (max-width: 380px) {
    .coins {
        max-width: 60px !important;
        top: 8% !important;
    }

    .login-grid-stretch {
        width: 100%;
    }

        .login-grid-stretch.form-section-small .login-flex-column {
            backdrop-filter: blur(0.15rem);
            height: fit-content;
        }

    .login-flex-column {
        min-width: 300px;
    }
}

@media screen and (max-width: 320px) {
    .login-grid-stretch {
        min-width: 320px;
    }

        .login-grid-stretch.form-section-small .login-flex-column {
            min-width: auto;
            width: 95%;
            padding: 30px;
            gap: 12px;
        }
}

/* Common Styles */
* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    font-family: Poppins;
}

body {
    margin: 0;
}

button {
    cursor: pointer;
}

input:focus-visible {
    outline: 2px solid #d72f2f;
}

.form-section-small *:not(img) {
    width: 320px;
}

.input-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
}

.label {
    font-size: 16px;
    font-family: "Poppins";
    color: black;
}

.input[type="text"],
.input[type="password"],
.input[type="email"] {
    min-width: 320px;
}

.input {
    font-size: 16px;
    font-family: "Poppins";
    height: 60px;
    padding: 16px;
    border-radius: 16px;
    background: #f1f1f1;
    border: 1px solid #d1d1d1;
}

.otp-fields {
    display: flex;
    flex-direction: row;
    gap: 4px;
    max-width: 320px;
}

    .otp-fields input[type="text"] {
        min-width: 50px;
        width: auto;
        flex: 1;
        text-align: center;
    }

@media screen and (max-width: 380px) {
    .otp-fields #otp1,
    .otp-fields #otp2,
    .otp-fields #otp3,
    .otp-fields #otp4,
    .otp-fields #otp5,
    .otp-fields #otp6 {
        height: 48px !important;
    }

    .label {
        font-size: 14px;
    }
}

@media screen and (max-width: 430px) {
    .otp-fields #otp1,
    .otp-fields #otp2,
    .otp-fields #otp3,
    .otp-fields #otp4,
    .otp-fields #otp5,
    .otp-fields #otp6 {
        height: 50px !important;
    }

    .label {
        font-size: 15px;
    }
}

.link {
    font-size: 16px;
    font-family: "Poppins";
    color: #d72f2f;
}

.underline_link {
    font-size: 16px;
    font-family: "Poppins";
    color: #d72f2f;
    text-decoration: underline;
}

.checkbox-field {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

    .checkbox-field .label {
        font-size: 14px;
        color: #7d7d7d;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .checkbox-field .label:before {
            content: "";
            display: block;
            width: 32px;
            height: 32px;
            background: url(/img/checkbox-unchecked.svg);
        }

@media screen and (max-width: 780px) {
    .checkbox-field {
        display: flex;
        flex-direction: row;
        gap: 80px;
        align-items: center;
    }

        .checkbox-field .label:before {
            content: "";
            display: block;
            width: 32px;
            height: 32px;
            background: url(/img/checkbox-unchecked.svg);
        }
}

@media screen and (max-width: 320px) {
    .input[type="text"],
    .input[type="password"],
    .input[type="email"] {
        min-width: auto;
        height: 50px;
        font-size: 15px;
    }

    .checkbox-field .label:before {
        width: 20px;
        height: 20px;
        background-size: cover;
    }
}

@media screen and (max-width: 380px) {
    .input[type="text"],
    .input[type="password"],
    .input[type="email"] {
        min-width: auto;
        height: 50px;
    }

    .checkbox-field .label:before {
        width: 25px;
        height: 25px;
    }
}

.checkbox-field input[type="checkbox"].checkbox:checked + .label:before {
    background: url(/img/checkbox.svg);
    width: 30px;
    height: 30px;
}

.checkbox {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

/* Button Styles */
.btn {
    height: 60px;
    border-radius: 16px;
    font-size: 18px;
    font-family: "Poppins";
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

    .btn.btn-primary {
        background: #d72f2f;
        justify-content: center;
        display: flex;
        border: 1px solid #d72f2f;
        color: #fff;
        text-shadow: 0 0 4px #fffc;
        min-width: 200px;
    }

        .btn.btn-primary > a {
            color: #fff;
        }

        .btn.btn-primary:hover {
            background: #d72f2fdd;
            border: 1px solid #d72f2fdd;
            color: #fff;
            text-shadow: 0 0 4px #fffc;
        }

        .btn.btn-primary > a:hover {
            color: #fff;
        }

        .btn.btn-primary:disabled {
            background: #ddd;
            border: 1px solid #ddd;
            color: #7d7d7d;
            opacity: 0.5;
            cursor: not-allowed;
        }

        .btn.btn-primary > a:disabled {
            color: #7d7d7d;
        }

    .btn.btn-secondary {
        background: #fff;
        border: 1px solid #d72f2f;
        color: #d72f2f;
    }

        .btn.btn-secondary > a {
            color: #d72f2f;
        }

        .btn.btn-secondary:hover {
            background: #d72f2f19;
            border: 1px solid #d72f2f;
            color: #d72f2f;
        }

        .btn.btn-secondary > a:hover {
            color: #d72f2f;
        }

@media screen and (max-width: 450px) {
    .btn.btn.btn-primary {
        height: 45px;
        font-size: 14px;
    }
}

@media screen and (max-width: 430px) {
    .center-align,
    .otp-text,
    .link {
        font-size: 15px;
    }

    .btn {
        height: 50px;
        font-size: 15px;
    }

    .input[type="text"],
    .input[type="password"],
    .input[type="email"] {
        height: 50px;
        font-size: 15px;
    }
}

@media screen and (max-width: 380px) {
    .btn {
        height: 50px;
        font-size: 14px;
    }

    .center-align,
    .otp-text,
    .link {
        font-size: 14px;
    }
}

/* Headers and Alignment */
h1.header1 {
    font-size: 32px;
    font-weight: 600;
    font-family: "Poppins";
    width: 100%;
}

.right-align {
    text-align: right;
    margin-top: -8px;
    margin-bottom: 8px;
}

.center-align {
    text-align: center;
}

/* Login Checkbox Styles */
.login-checkbox-container.full-width-text {
    width: 100%;
    display: flex;
    flex-direction: row;
    column-gap: 1px;
    align-items: center;
    justify-content: space-around;
}

    .login-checkbox-container.full-width-text > input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        height: 32px;
        width: 32px;
        background-color: #f1f1f1;
        border-radius: 10px;
        border: 1px solid #d1d1d1;
        cursor: pointer;
        display: flex;
        align-items: center;
        margin-left: -24px;
        margin-right: -25px;
        justify-content: center;
    }

        .login-checkbox-container.full-width-text > input[type="checkbox"]:checked::after {
            content: "\f00c";
            font-family: "Font Awesome 5 Free";
            font-weight: 600;
            font-size: 15px;
            color: white;
            display: none;
        }

        .login-checkbox-container.full-width-text > input[type="checkbox"]:checked {
            background-color: #d72f2f;
            border: 1px solid #d72f2f;
            outline: none;
        }

            .login-checkbox-container.full-width-text > input[type="checkbox"]:checked:after {
                display: block;
            }

/* Standard Login Checkbox */
.login-checkbox-container {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 4px;
}

    .login-checkbox-container > input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        height: 24px;
        width: 24px;
        background-color: #f1f1f1;
        border-radius: 6px;
        border: 1px solid #d1d1d1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        .login-checkbox-container > input[type="checkbox"]:checked::after {
            content: "\f00c";
            font-family: "Font Awesome 5 Free";
            font-weight: 600;
            font-size: 12px;
            color: white;
            display: none;
        }

        .login-checkbox-container > input[type="checkbox"]:checked {
            background-color: #d72f2f;
            border: 1px solid #d72f2f;
            outline: none;
        }

            .login-checkbox-container > input[type="checkbox"]:checked:after {
                display: block;
            }

    .login-checkbox-container label {
        color: grey;
        font-size: 14px;
        font-family: "Poppins", sans-serif;
        cursor: pointer;
        margin: 0;
    }

label {
    color: grey;
    font-size: 12px;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
}

.center-align.get-otp {
    margin-top: 100px;
}

.center-align.login-frame {
    margin-top: 12px;
    margin-bottom: 12px;
}

.btn.btn-primary.new-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    align-items: center;
    column-gap: 10px;
}

#countdownTimer > a {
    padding-bottom: 40px;
}

/* Alert Styles */
.alert {
    margin-bottom: 12px;
    padding: 12px 16px;
    border-radius: 8px;
}

.alert-info {
    background-color: #e3f2fd;
    border: 1px solid #2196f3;
    color: #1976d2;
}

.alert-danger {
    background-color: #ffebee;
    border: 1px solid #f44336;
    color: #c62828;
}

.error {
    color: #c62828;
    font-size: 14px;
    margin-top: 4px;
}

/* Responsive Design */
@media screen and (max-width: 960px) {
    h1.header1 {
        font-size: 22px;
        font-weight: 600;
    }
}

@media screen and (max-width: 768px) {
    .markers-map {
        display: none;
    }

    .input.otp-mobile {
        margin-top: 30px;
        margin-bottom: -20px;
    }

    .login-checkbox-container.full-width-text {
        width: 80%;
        column-gap: 10px;
    }

        .login-checkbox-container.full-width-text > input[type="checkbox"] {
            height: 33px;
            width: 33px;
            border-radius: 10px;
            margin-left: 30px;
            margin-right: 0px;
        }

    .login-checkbox-container > input[type="checkbox"] {
        height: 22px;
        width: 22px;
    }

    .login-checkbox-container label {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    h1.header1 {
        font-size: 18px;
    }

    .link {
        font-size: 15px;
    }

    .login-checkbox-container.full-width-text {
        width: 100%;
        column-gap: 10px;
    }

        .login-checkbox-container.full-width-text > input[type="checkbox"] {
            height: 33px;
            width: 33px;
            border-radius: 10px;
            margin-left: 5px;
            margin-right: 0px;
        }
}

@media screen and (max-width: 430px) {
    .login-checkbox-container > input[type="checkbox"] {
        height: 20px;
        width: 20px;
    }

    .login-checkbox-container label {
        font-size: 12px;
    }
}

@media screen and (max-width: 380px) {
    h1.header1 {
        font-size: 18px;
    }

    .login-checkbox-container.full-width-text {
        width: 100%;
        column-gap: 10px;
    }

        .login-checkbox-container.full-width-text > input[type="checkbox"] {
            height: 33px;
            width: 37px;
            border-radius: 10px;
            margin-left: 30px;
            margin-right: 0px;
        }
}

@media screen and (max-width: 320px) {
    h1.header1 {
        font-size: 18px;
    }

    .btn {
        height: 40px;
        border-radius: 16px;
        font-size: 14px;
    }

    .link {
        font-size: 14px;
    }

    .btn.btn-primary {
        min-width: auto;
        width: 100%;
        margin: 10px 0;
    }

    .btn.btn-secondary {
        min-width: auto;
        width: 100%;
        margin: 10px 0;
    }

    .login-checkbox-container.full-width-text {
        width: 100%;
        column-gap: 10px;
    }

        .login-checkbox-container.full-width-text > input[type="checkbox"] {
            height: 30px;
            width: 35px;
            border-radius: 10px;
            margin-left: 3px;
            margin-right: 3px;
        }

    .login-checkbox-container > input[type="checkbox"] {
        height: 18px;
        width: 18px;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
