﻿
@font-face {
    font-family: 'Arada';
    src: url('../fonts/Arada-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AradaHeading';
    src: url('../fonts/AradaHeadline-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

body, html, button, a, input, h1, h2, h3, h4, h5, h6, p, div, span {
    font-family: 'Arada' !important;
}
#OrButton {
    background: transparent;
    border: none;
    color: inherit; /* keeps same text color as surrounding */
    cursor: default;
    box-shadow: none;
    height:12%;
}

    #OrButton:disabled {
        opacity: 1; /* prevent graying out when disabled */
    }

/* Make toast full-width at top */
#toast-container > .toast {
    width: 100% !important;
    height: 100%;
    max-width: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 16px 40px !important;
    font-size: 16px !important;
    font-weight: 500;
    display: flex;
    align-items: center;
    box-shadow: none !important;
}

    /* Success toast look */
    #toast-container > .toast.toast-success {
        background-color: rgba(107, 202, 186, 1) !important; /* green */
        opacity: 1;
        color: #fff !important;
        background-image: url('/images/icons8-tick-30.png') !important;
        background-size: 16px 16px !important;
    }


/* Position at very top */
#toast-container {
    top: 2vw !important;
    right: 2vw !important;
    width: 382px;
    height: 60px;
}


.loader-container {
    padding: 100px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 100;
    align-items: center;
    justify-content: center;
    background-color: rgba(34, 34, 34, 0.7);
}

.loader {
    height: 100px;
    width: 100px;
    background-color: #fff;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #b8c1d1;
    font-family: 'Arada', sans-serif;
}

.full-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.card {
    background: rgba(234, 239, 245, 1);
    width: 100%;
    max-width: 440px;
    height: 956px; /* This height might still cause issues if content grows too much for the scaled view */
    border-radius: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    overflow-y: auto; /* Keep this if you anticipate content potentially exceeding the card height after scaling */
    transform: scale(0.65);
    transform-origin: center;
    position: relative; /* Added to make sure content inside doesn't overflow when scaled */
}

@media (max-width: 1280px) {

    .clear-btn {
        right: 3vw;
    }

    .card {
        width: 100vw;
        height: 100vh;
        transform: none;
        max-height: none;
        max-width: none;
    }

    .submit-btn-with-contact-error {
        margin: 3.3vh 0 0;
    }

    #toast-container {
        top: 8.3vw !important;
        left: 5.6vw !important;
        right: 5.6vw !important;
        width: auto !important;
        height: 14vw !important;
    }

    /*    h2 {
        margin: 0 5.56vw;
    }*/

    #loginForm {
        padding: 3vh 6vw 0 !important;
    }

    .heading {
        height: 6.44vh !important;
        padding: 0 6vw !important;
    }

    .ResendLinkErrors {
        padding: 3vw 6vw 2vw !important;
        gap: 1vh !important;
    }
}

.grecaptcha-badge {
    visibility: hidden;
}


.header {
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #000000;
    position: relative;
    border-bottom: solid 1px #FFFFFF80;
}

.actual-header {
    width: 100%;
    height: 65px;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    /*    background: #E8EDF2;*/
}

.back-btn {
    /*    transform: translateY(-50%);*/
    background: none;
    border: none;
    cursor: pointer;
    width: 17.5px;
    /*    height: 10px;*/
}

    .back-btn svg {
        width: 16px;
        height: 16px;
    }

.arrow-div {
    height: 100%;
    position: absolute;
    display: flex;
    /*    display: none;*/
    align-items: center;
    filter: drop-shadow(0 0 2px #FFFFFF);
    padding-left: 26px;
}

.header-title {
    /*    padding-left: 143.5px;*/
    font-weight: 700;
    font-size: 18px;
    line-height: 16px;
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
    font-family: 'AradaHeading' !important;
}

.form-wrapper {
    /*    height: 100%;*/
}

h2 {
    font-weight: 400;
    /*    margin: 0 24px;*/
    margin: 0;
    /*    position: absolute;*/
    /*    width: 159px;*/
    /*    height: 16px;*/
    /*    top: 24px;*/
    /*    left: 24px;*/
    font-size: 22px;
    /*    line-height: 23px;*/
    letter-spacing: 0px;
}

.heading {
    /*    position: absolute;*/
    width: 100%;
    height: 60px;
    min-height: 60px;
    /*    top: 90px;*/

    display: flex;
    align-items: center;
    padding: 0 24px;
}

#loginForm {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2vh;
    /*    padding: 0 24px;*/
    padding: 28px 24px 0;
}

.form-group-email {
    /*    position: absolute;
    width: 382px;
    height: 56px;
    top: 172px;
    left: 24px;*/
    border-radius: 12px;
    border-width: 1px;
    position: relative;
}

/* Floating label */
.floating-label {
    position: absolute;
    top: 16px;
    left: 15px;
    color: #999;
    font-size: 16px;
    font-weight: 400;
    pointer-events: none;
    background: #fff;
    padding: 2px 4px;
    /* Start hidden */
    opacity: 0;
    transform: translateY(0);
    transition: 0.25s ease all;
}

/* When input is focused or has text */
.form-control:focus + .floating-label,
.form-control:not(:placeholder-shown) + .floating-label {
    top: -8px;
    font-size: 12px;
    color: #000;
    opacity: 1;
    transform: translateY(-2px);
}


.form-group-otp {
    /*    width: 382px;*/
    width: 100%;
    height: 56px;
    /*    position: absolute;
    left: 24px;
    top: 381px;*/
    border-radius: 12px;
    border-width: 1px;
    position: relative;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    /*    width: 382px; */
    width: 100%;
    /* Changed to 100% to be responsive within padding */
    height: 56px;
    padding: 0 16px;
    font-size: 16px;
    border: 1px solid rgba(212, 218, 230, 1);
    /*    border-radius: 12px;*/
    background-color: rgba(234, 239, 245, 1);
    font-family: 'Arada';
    /*    color: #4f6a83;*/
    color: #000000;
    font-weight: 300;
}


input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #D1DBE5; /* Example: blue glow */
}


.with-email-error {
    margin-top: 10px;
}

.submit-btn {
    height: 50px;
    border: none;
    transition: all 0.3s ease;
    background-color: rgba(29, 66, 138, 1);
    font-weight: 400;
    font-size: 18px;
    color: #FFFFFF;
    cursor: not-allowed;
    opacity: 0.2;
    /*    position: absolute;*/
    /* Changed to absolute positioning */
    /*    width: 382px;*/
    width: 100%;
    /*    top: 246px;
    left: 24px;*/
    /*    border-radius: 30px;*/
    line-height: 12px;
    letter-spacing: 0px;
    text-align: center;
    font-family: 'Arada', sans-serif !important;
    padding-top: 3px;
}

    .submit-btn.active {
        background-color: #1D428A;
        cursor: pointer;
        opacity: 1;
    }

    .submit-btn.get-otp {
        top: 246px !important;
    }

.otp-section {
    display: none;
    height: 100%
}

.otp-title {
    /*    width: 430px;*/
    display: flex;
    align-items: center;
    height: 50px;
    /*    height: 60px;*/
    /*    position: absolute;
    top: 246px;*/
}

#otp-container {
    padding: 5% 5.5%;
    background-color: rgba(255, 255, 255, 1);
}

.otp-actual-title {
    /*    height: 14px;*/
    /*    position: absolute;
    top: 24px;
    left: 24px;*/
    font-family: 'Arada', sans-serif;
    font-weight: 700;
    font-size: 18px;
    /*    line-height: 23px;*/
    letter-spacing: 0px;
}

.otp-text {
    /*    width: 430px;*/
    /*    height: 64px;*/
    gap: 0.5vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: .5vh 0 1.5vh;
    /*    position: absolute;
    top: 301px;*/
}

.otp-instruction-text {
    font-family: 'Arada', sans-serif;
    font-weight: 400;
    font-size: 16px;
    /*    line-height: 24px;*/
    letter-spacing: 0px;
    /*    height: 24px;*/
    /*    position: absolute;
    top: 16px;
    left: 24px;*/
}

.otp-highlight {
    font-family: 'Arada', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0px;
    color: #1D428A;
    display: inline-flex;
    align-items: center;
    height: 20px;
    /*    position: absolute;
    top: 38px;
    left: 24px;*/
}

#edit-svg {
    width: 20px;
    height: 20px;
    padding-left: 5px;
}

#otpTarget {
    top: 44px;
}
/* #otpInput {
                                                                    width: 382px;
                                                                    height: 56px;
                                                                    border-radius: 12px;
                                                                    border: 1px solid #D1DBE5;
                                                                    opacity: 1;
                                                                    font-size: 16px;
                                                                    padding: 0 16px;
                                                                    margin-top: 12px;
                                                                } */


.resend {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    /* height: 41px; */
    padding-top: 14px;
    /* padding-right: 24px; */
    /* margin-bottom: 16px; */
    /* padding-left: 24px; */
}

#timer {
    height: 12px;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0px;
    color: #000000;
}

.resend a {
    color: #1D428A;
    cursor: pointer;
    text-decoration: none;
    height: 14px;
    opacity: 1.0;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0px;
}

    .resend a.disabled {
        opacity: 0.2;
        cursor: not-allowed;
        pointer-events: none;
    }
/* Extra margin when OTP error is visible */
.resend.with-otp-error {
    margin-top: 16px;
}

.ResendLinkErrors.with-otp-error {
    top: 510px;
}


.error {
    color: red;
    font-size: 12px;
    /*    font-size: 0.9rem;*/
    margin-top: 5px;
}

#otpErrorMsg {
    text-align: left;
    /*    position: absolute;
    top: 432px;
    left: 24px;*/
}

.ResendLinkErrors {
    text-align: left;
    /*    position: absolute;
    top: 485px;
    left: 24px;
    width: 354px;*/
    font-size: 14px;
    font-family: 'Arada', sans-serif !important;
    font-weight: 400;
    line-height: 17px !important;
    letter-spacing: 0px;
    background-color: rgba(242, 245, 249, 1);
    display: flex;
    flex-direction: column;
    padding: 10px 24px;
    gap: 4px;
}

.otp-error {
    border: 1px solid red !important;
}

/* OTP success */
.otp-success {
    /*// border: 2px solid #28a745 !important;*/ /* Green border */
    background-color: #6BCABA4D !important;
    background: url('/images/tick.svg') no-repeat right 10px center;
    background-size: 40px;
}


/* Megha Changes */
/* input[type="email"]:invalid {
                                                                    border: 2px solid red !important;
                                                                } */

/* input[type="email"]:focus:invalid {
                                                                    border: 2px solid red !important;
                                                                    outline: none;
                                                                } */


.input-error {
    border: 1px solid red !important;
}

.Notification-bar {
    height: 25px;
    width: 100%;
    /*    background: #E8EDF2;*/
    color: #fff;
}

.field-error {
    color: red;
    font-size: 0.9rem;
    margin-top: 12px;
    line-height:20px;
    
/*    margin-bottom: 20px;*/
/*    text-align: left;*/
text-align:justify;
/*    position: absolute;*/
    top: 53px;
}

.submit-btn-with-contact-error {
    margin: 42px 0 0;
}
