.login-page {
    background-image: url("../assets/images/bg-login-arjuna.png");
    background-size: 1920px 1080px;
    background-position: 25% top;
    background-repeat: no-repeat;
    background-color: #000;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 2rem;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
}

.glass-card {
    background: rgb(255, 255, 255);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2),
        0 0 10px rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    width: 420px;
    margin-right: 10%;
    position: relative;
    overflow: auto;
    max-height: 90vh;
    margin-top: 0;
    margin-bottom: 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.login-card {
    padding-bottom: 1.5rem;
}

.request-card {
    padding-bottom: 1.5rem;
}

.logo-container {
    position: absolute;
    top: 20px;
    right: 30px;
}

.title-container {
    text-align: center;
    margin-bottom: 1rem;
}

.title-image {
    max-width: 80%;
    height: auto;
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    font-weight: 500;
    color: #333333;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control.bg-transparent {
    color: #333333;
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px;
    height: 42px;
    padding: 0.6rem 0.8rem;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
}

.form-control.bg-transparent::placeholder {
    color: rgba(51, 51, 51, 0.7);
    font-weight: 500;
}

.form-control.bg-transparent:focus {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.25) !important;
}

.btn-login {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
    font-weight: 600;
    padding: 0.5rem 0.8rem;
    width: 100%;
    border-radius: 10px;
    font-size: 0.95rem;
}

.btn-login:hover {
    background-color: var(--bs-primary2);
    border-color: var(--bs-primary2);
    color: white;
}

.recaptcha-wrapper {
    width: 100%;
    max-width: 304px;
}

.g-recaptcha {
    width: 100%;
}

.captcha-hint {
    font-size: 12px;
    margin-top: 0.5rem;
}

.fv-row {
    margin-bottom: 1rem;
}

.otp-label {
    display: block;
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 1rem;
}

.otp-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.2s ease;
    background: white;
}

.otp-input:focus {
    outline: none;
    border-color: #16446a;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.otp-input.filled {
    border-color: #16446a;
    background-color: #f8fafc;
}

.resend-section {
    text-align: center;
    color: #718096;
}

.resend-link {
    color: var(--bs-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.resend-link:hover {
    color: #1f73b8;
}

@media (max-width: 1919px) {
    .login-page {
        background-size: cover;
        background-position: 25% top;
    }
}

@media (max-width: 1400px) {
    .glass-card,
    .login-card,
    .request-card {
        width: 400px;
    }

    .login-page {
        background-position: 20% top;
    }
}

@media (max-width: 1200px) {
    .glass-card,
    .login-card,
    .request-card {
        width: 380px;
        margin-right: 5%;
    }

    .login-page {
        background-position: 15% top;
    }
}

@media (max-width: 992px) {
    .glass-card,
    .login-card,
    .request-card {
        width: 360px;
        margin-right: 3%;
    }

    .login-page {
        background-position: 10% top;
    }
    .otp-input {
        width: 45px;
        height: 45px;
        font-size: 17px;
    }

    .otp-container {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .login-page {
        justify-content: center;
        padding: 0 1rem;
        background-position: 25% top;
        align-items: center;
        position: absolute;
        overflow-y: auto;
        height: 100%;
    }

    .glass-card,
    .login-card,
    .request-card {
        width: 85%;
        max-width: 360px;
        margin-right: 0;
        margin-top: 80px;
        margin-bottom: 80px;
        padding: 1.2rem;
    }

    .logo-container {
        width: 100%;
        text-align: center;
        left: 0;
        right: 0;
        top: 25px;
        transform: none;
    }

    .logo-container img {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .glass-card {
        margin-top: 70px;
        margin-bottom: 70px;
        padding: 1.2rem;
        width: 90%;
    }

    .login-title {
        font-size: 28px;
    }

    .login-description {
        font-size: 18px;
    }

    .login-page {
        background-position: 40% top;
    }

    .title-image {
        max-width: 80%;
    }
}
@media (max-width: 480px) {
    .otp-container {
        gap: 6px;
    }

    .otp-input {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-height: 700px) {
    .login-page {
        padding: 0 1rem;
        align-items: center;
    }

    .glass-card {
        margin-top: 60px;
        margin-bottom: 40px;
        padding: 1rem;
        max-height: 80vh;
    }
}

.login-page {
    height: 100vh !important;
    overflow: hidden !important;
}

.text-center.mb-3 {
    margin-bottom: 0.5rem !important;
}

.text-center.mb-3 h2.login-title.fs-5 {
    font-size: 0.9rem !important;
    margin-bottom: 0.2rem;
}

.text-center.mb-3 p.fs-8 {
    font-size: 0.65rem !important;
    margin-bottom: 0.2rem;
}

.captcha-container {
    margin-bottom: 0.8rem;
}

.captcha-hint.text-center.mb-3 {
    margin-bottom: 0.3rem !important;
}
.login-page {
    height: 100vh !important;
    overflow: hidden !important;
}

.text-center.mb-3 {
    margin-bottom: 0.5rem !important;
}

.text-center.mb-3 h2.login-title.fs-5 {
    font-size: 0.9rem !important;
    margin-bottom: 0.2rem;
}

.text-center.mb-3 p.fs-8 {
    font-size: 0.65rem !important;
    margin-bottom: 0.2rem;
}

/* Compact the captcha container */
.captcha-container {
    margin-bottom: 0.8rem;
}

.captcha-hint.text-center.mb-3 {
    margin-bottom: 0.3rem !important;
}

/* Version text styling */
.version-text {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    font-weight: 400;
    font-style: italic;
}
