* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    height: 100vh;
    overflow: hidden;
}

.authentication-section {
    display: flex;
    height: 100vh;
}


.authentication-left {
    flex-basis: 63.28%;
    width: 63.28%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}


.authentication-left img {
    max-width: 100%;
}


.login{
  max-width:1215px;
  width:100%;
  height:100%;

}


.authentication-right {
    position: relative;
    flex-basis: 36.72%;
    width: 36.72%;
    /* background: #FCFCF5; */
    background: #FFFCEE;
    padding: 45px 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}



.login-devalay-icon {
    width: 119px;
    height: 88px;
}


.logo {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #FF6B35;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}


.national-icon{
    width:18px;
    height:14px;
    
}

.country-codes{
    color: rgba(15, 13, 13, 0.87);
    font-family: Nunito Sans;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    margin-left:6px;
}

.login-form {
    max-width: 350px;
    margin: 0 auto;
}

.login-title {
    font-family: var(--font-primary);
    font-size: 32px;
    margin-top:36px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 40px;
    text-align: center;
}


.form-label {
    display: block;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 400;
    text-align: left;
}



.phone-input-container {
    display: flex;
    border: 1px solid var(--border-primary);
    max-width:350px;
    height:46px;
    width:100%;
    border-radius: 5px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    background: var(--bg-primary);
}

.phone-input-container:focus-within {
    border-color: #FF6B35;
}

.country-code {
    background: rgba(217, 217, 217, 0.00);
    padding: 12px 16px;
    border-right: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
    min-width: 70px;
}

.country-flag {
    width: 20px;
    height: 15px;
    margin-right: 6px;
    background: linear-gradient(to bottom, #FF9933 33%, #FFFFFF 33%, #FFFFFF 66%, #138808 66%);
    border-radius: 2px;
}

.phone-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 18px;
    color: var(--text-secondary);
}

.phone-input::placeholder {
    color: var(--text-placeholder);
}

.get-otp-btn {
    width: 100%;
    height:46px;
    background: var(--brand-secondary);
    border: 0.453px solid #D6D4D4;
    color: var(--text-inverse);
    border: none;
    /* padding: 14px; */
    border-radius: 5px;
    font-size: 20px;
    font-weight: 400;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 20px 0;
}


.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
    color: var(--text-muted);
    font-size: 14px;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #E5E7EB;
    z-index: 1;
}

.divider span {
    background: #FFFCEE;
    color:var(--text-primary);
    font-size:20px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.social-btn {
    width: 100%;
    height:46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: 1px solid var(--border-primary);
    border-radius: 5px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: #D1D5DB;
    background: #F9FAFB;
}

/* .social-btn.apple {
    background: black;
    color: white;
    border-color: black;
} */

.social-btn.apple:hover {
    background: var(--text-secondary);
}

.google-icon, .apple-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
}

.google-icon {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%234285F4" d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"/><path fill="%2334A853" d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"/><path fill="%23FBBC05" d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"/><path fill="%23EA4335" d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"/></svg>') center/contain no-repeat;
    width: 25px;
    height: 25px;
    margin-left:10px;
    display: inline-block;
}


.apple-icon {
    background-color: var(--bg-primary);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z'/%3E%3C/svg%3E") center/contain no-repeat;
    width: 30px;
    height: 30px;
    display: inline-block;
}




.terms {
    position: absolute;
    /* right: 75px; */
    /* left: 75px; */
    right:5%;
    left:5%;
    bottom: 124px;
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.5;
    text-align: center;
    word-wrap: break-word;
}



.terms a {
    color: #FF6B35;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}



@media screen and (max-height: 900px) {
    .terms {
        bottom: 100px;
    }
}

@media screen and (max-height: 800px) {
    .terms {
        bottom: 40px;
        font-size:18px;
    }
}

@media screen and (max-height: 700px) {
    .terms {
        bottom: 60px;
    }
}

@media screen and (max-height: 600px) {
    .terms {
        bottom: 40px;
    }
}




@media (max-width: 1024px) {
    .authentication-left {
        flex-basis: 55%;
        width: 55%;
    }

    .authentication-right {
        flex-basis: 45%;
        width: 45%;
        padding: 30px 25px;
    }
}



@media (max-width: 768px) {

    /* .login-devalay-icon{
        width:68px;
        height:53px;
    } */
    

    .login-title{
        font-size: 24px;
        margin-top: 16px;
        margin-bottom:16px;
        text-align: center;
    }

    .form-label{
        font-size:18px;
    }

    .authentication-container {
        flex-direction: column;
    }

    .authentication-left {
        display: none;
    }

    .authentication-right {
        width: 100%;
        flex-basis: 100%;
        padding: 30px 20px;
    }

    .terms {
        font-size: 14px;
        text-align: center;
        margin-top: 20px;
        position: static;
    }
    
}



        
#toastBox {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ToastBox-Section-Toast {
    display: flex;
    align-items: center;
    background-color: var(--text-secondary);
    color: var(--text-inverse);
    padding: 12px 16px;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 14px;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.4s ease forwards;
}

.ToastBox-Section-Img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.TBSIsuccess {
    filter: hue-rotate(90deg);
}

.TBSIerror {
    filter: hue-rotate(0deg);
}

.TBSIinvalid {
    filter: hue-rotate(45deg);
}

/* Toast background colors */
.ToastBox-Section-Toast.success {
    background-color: var(--brand-dark);
}

.ToastBox-Section-Toast.error {
    background-color: var(--color-error);
}

.ToastBox-Section-Toast.invalid {
    background-color: #ffc107;
    color: var(--text-link);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.ToastBox-Section-Toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    animation: toastProgress linear forwards;
}

@keyframes toastProgress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}


/* Signup page */
.signin-container {
    display: flex;
    height: 100vh;
}
.signin-left {
    flex-basis: 63.28%;
    width: 63.28%;
}
.signin-right {
    flex-basis: 36.72%;
    width: 36.72%;
    position: relative;
}
.signin-form-wrapper {
    max-width: 400px;
    margin: 0 auto;
    padding: 40px 20px;
}
.signin-logo img {
    height: 48px;
}
.signin-title {
    font-size: 28px;
    font-weight: 600;
    margin: 20px 0 8px;
}
.signin-subtitle {
    color: var(--text-muted);
    margin-bottom: 24px;
}
.signin-form .form-group {
    margin-bottom: 16px;
}
.signin-form .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}
.signin-form .form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-primary);
    border-radius: 5px;
    font-size: 16px;
}
.signup-error {
    color: var(--color-error);
    font-size: 14px;
    margin-bottom: 12px;
}
.signin-btn {
    width: 100%;
    background: var(--brand-secondary);
    color: var(--text-inverse);
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}
.signin-divider {
    text-align: center;
    margin: 20px 0;
    color: var(--text-muted);
}
.signin-social .social-btn img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}
.signin-footer {
    text-align: center;
    margin-top: 20px;
}
.signin-footer a {
    color: #FF6B35;
}
.signin-right .slider-image {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .signin-container {
        flex-direction: column;
    }
    .signin-left {
        width: 100%;
        flex-basis: 100%;
    }
    .signin-right {
        display: none;
    }
}

.otp-section {
    text-align: center;
}


.otp-title{
    font-family: var(--font-primary);
    font-size: 32px;
    margin-top:36px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 36px;
    text-align: center;


}


.otp-info {
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 20px;
    margin-bottom:24px;
    font-style: normal;
    font-weight: 400;
}

.otp-input-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.otp-digit {
    width: 52px;
    height: 46px;
    border: 1px solid var(--border-primary);
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    outline: none;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.verify-otp-btn {
    background-color: var(--brand-secondary);
    color: var(--text-inverse);
    border: none;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 400;
    height:46px;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    padding: 12px 24px;
    width: 100%;
    max-width: 350px; /* optional max width */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.otp-digit:focus {
    border-color: #FF6B35;
}

.otp-digit.filled {
    background: #FF6B35;
    color: var(--text-inverse);
    border-color: #FF6B35;
}

.resend-section {
    margin-top: 20px;
    font-size: 18px;
    color: var(--text-primary);
}

.resend-text {
    font-weight: 600;
}

.resend-otp {
    color: #FF6B35;
    text-decoration: none;
    font-size: 18px;
    display: inline;
}

.resend-otp:hover {
    text-decoration: underline;
}

/* New Code */
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
    
.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}
    
.slider-image.active {
    opacity: 1;
    z-index: 1;
}
    
#popup-bg {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    justify-content: center;
    align-items: center;
    z-index: var(--z-modal-backdrop);
}
#popup-box {
    background: var(--bg-secondary);
    padding: 20px;
    width: 80%;
    max-width: 300px;
    text-align: center;
    border-radius: 12px;
}
.popup-title {
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 19px;
}
#open-app { background: var(--brand-secondary); color: var(--text-inverse); margin-top:20px; padding:10px; width:100%; border-radius:8px; border: 1px solid var(--brand-secondary); font-family: var(--font-primary); font-size: 15px; }
#continue-web { background: var(--bg-primary); margin-top:8px; padding:10px; width:100%; border-radius:8px; border: 1px solid #DADADA; font-family: var(--font-primary); font-size: 15px; }