/* ============================================================
   Premium Login Page – D.O.R.B.A.R
============================================================ */

/* Page base */
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
}

/* ============================================================
   Login container
============================================================ */

.login-box {
    width: 90%;
    max-width: 900px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0,0,0,0.08),
        0 4px 10px rgba(0,0,0,0.04);
}

/* ============================================================
   Left branding panel
============================================================ */

.left-side {
    flex: 1;
    color: #fff;
    text-align: center;
    position: relative;
    background: linear-gradient(
        135deg,
        #2563eb,
        #22c55e,
        #facc15
    );
}

/* Overlay for depth */
.left-side::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.12),
        rgba(0,0,0,0.15)
    );
}

/* Keep content above overlay */
.left-side > * {
    position: relative;
    z-index: 1;
}

/* Logo */
.logo-img {
    max-width: 200px;
    height: auto;
}

/* Branding text */
.left-side h4 {
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.left-side p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.95;
}

/* ============================================================
   Right login panel
============================================================ */

.right-side {
    flex: 1;
    background: #fff;
}

.right-side h4 {
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #1f2937;
}

/* ============================================================
   Form elements
============================================================ */

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.form-control {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.2rem rgba(37,99,235,0.15);
}

/* Buttons */
.btn {
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
}

.btn-primary {
    border: none;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.btn-primary:hover {
    filter: brightness(1.05);
}

/* Inline action buttons */
#togglePwd,
#getOtp {
    min-width: 96px;
    font-size: 13px;
    white-space: nowrap;
}

/* Captcha */
.captcha-box {
    font-size: 15px;
    letter-spacing: 0.18em;
    background: #f3f4f6;
    border: 1px dashed #9ca3af;
    cursor: pointer;
    user-select: none;
}

/* Alerts */
.alert {
    padding: 8px 12px;
    font-size: 13px;
}

/* ============================================================
   Footer
============================================================ */

.login-footer {
    margin-top: 18px;
    font-size: 12.5px;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.login-footer span {
    font-weight: 600;
    color: #374151;
}

/* ============================================================
   Mobile optimizations
============================================================ */

@media (max-width: 768px) {

    .login-box {
        flex-direction: column;
    }

    .left-side {
        min-height: 200px;
        padding: 24px 16px;
    }

    .logo-img {
        max-width: 110px;
    }

    .login-footer {
        margin-top: 14px;
        font-size: 12px;
    }
}
