﻿
body, html {
    height: 100%;
}

.login-container {
    min-height: 100vh;
}

.illustration {
    background-color: #f9f9f9;
}

    .illustration img {
        max-width: 100%;
        height: auto;
    }

.login-box {
    max-width: 500px;
    margin: auto;
    padding: 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #d60000;
}

.btn-google {
    border: 1px solid #ddd;
}

.form-check-label {
    font-size: 0.9rem;
}

.form-text {
    font-size: 0.9rem;
}

.form-check-input:checked {
    background-color: #004b9c;
    border-color: #004b9c;
}
.btn-primary-custom {
    background-color: #004b9c;
    border: none;
    width:100%;
    padding: 10px;
    font-weight: 600;
    color: #ffffff;
}

.text-primary {
    color: #004b9c;
}

.btn-primary-custom:hover {
    color: #ffffff;
    background-color: #0f2f4e;
}


/*================================
    Pop-Up After Click Login Button
==================================*/

.login-page .popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
}

.login-page .verify-your-account {
    position: absolute;
    width: 448px;
    min-height: 100px;
    left: 50%;
    top: 50%;
    background: #FFFFFF;
    box-shadow: 0px 25px 50px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    transform: translate(-50%, -50%);
}


/* Close */
.login-page .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    background: transparent;
    font-size: 20px;
    color: #9CA3AF;
}

/* Icon */
.login-page .icon-wrapper {
    width: 64px;
    height: 64px;
    background: #DBEAFE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

    .login-page .icon-wrapper i {
        font-size: 32px;
        color: #2563EB;
    }

/* Text */
.login-page .verify-your-account h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
}

.login-page .subtitle {
    font-size: 14px;
    color: #4B5563;
    font-weight: 400;
    margin-bottom: 24px;
}

    .login-page .subtitle .phone {
        color: #2563EB;
        display: block;
        margin-top: 4px;
    }

/* OTP */
.login-page .otp-section label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    display: block;
    text-align: left;
    margin-bottom: 12px;
}

.login-page .otp-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
}

    .login-page .otp-inputs input {
        width: 48px;
        height: 48px;
        border: 2px solid #D1D5DB;
        border-radius: 8px;
        font-size: 18px;
        text-align: center;
    }

/* Resend */
.login-page .resend {
    margin-top: 20px;
    font-size: 14px;
    color: #4B5563;
    font-weight: 400;
}

    .login-page .resend p {
        margin-bottom: 4px;
        color: #374151;
    }

    .login-page .resend span {
        color: #9CA3AF;
    }

/* Button */
.login-page .verify-btn {
    width: 100%;
    height: 56px;
    margin-top: 24px;
    background: #D1D5DB;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    cursor: not-allowed;
}

/* Divider */
.login-page hr {
    margin: 20px 0;
    height: 2px;
    border-color: #E5E7EB;
    opacity: 35;
}

/* Help */
.login-page .help .having-trouble {
    color: #6B7280;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 400;
}

.login-page .help .send-code {
    color: #2563EB;
    font-size: 12px;
    text-decoration: none;
    font-weight: 500;
}

.back-arrow {
    position: absolute;
    top: 15px;
    left: 15px;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}


.login-page .btn-register {
    background: #7B61FF;
    color: white;
    font-size: 18px;
    padding: 12px;
    border-radius: 10px;
}

    .login-page .btn-register:hover {
        background: #6a51e8;
    }


.password-icon {
    position: absolute;
    top: 38px;
    right: 12px;
    cursor: pointer;
    color: #6c757d;
    z-index: 10;
}


/*---------Toster----------*/

    #locationWarning {
        font-size: 14px;
    }

    .toast-box {
        position: fixed;
        top: 20px;
        right: 20px;
        color: #fff;
        padding: 12px 18px;
        border-radius: 8px;
        z-index: 9999;
        opacity: 0;
        transform: translateY(-20px);
        transition: all .3s ease;
    }

        .toast-box.show {
            opacity: 1;
            transform: translateY(0);
        }

    .toast-success {
        background: #28a745; /* light green */
    }

    .toast-error {
        background: #dc3545; /* red */
    }