/* ============================================================
   Plux Login Page
   ============================================================ */

:root {
    --brand-dark:   #0f2744;
    --brand-mid:    #1a6fc4;
    --brand-light:  #e8f1fb;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
}

.plux-login-body {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--brand-dark) 0%, #1a3d6e 55%, #1a6fc4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    position: relative;
    overflow: hidden;
}

/* Decorative background shapes */
.login-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: .08;
    background: #fff;
}
.shape-1 { width: 420px; height: 420px; top: -120px; right: -80px; }
.shape-2 { width: 260px; height: 260px; bottom: -60px; left: -60px; }
.shape-3 { width: 160px; height: 160px; top: 55%; left: 60%; }

/* Card */
.login-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.login-card {
    width: 100%;
    background: #fff;
    border-radius: 18px;
    padding: 40px 36px 36px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

/* Brand */
.login-brand {
    text-align: center;
    margin-bottom: 28px;
}
.login-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 16px;
    margin-bottom: 14px;
    box-shadow: 0 4px 16px rgba(26,111,196,.25);
}
.login-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f2744;
    margin: 0 0 4px;
    letter-spacing: -.3px;
}
.login-subtitle {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
}

/* Error */
.login-error {
    font-size: 13px;
    border-radius: 8px;
    margin-bottom: 16px; 
    align-items: center;
    gap: 8px;
}

/* Form */
.form-label { font-weight: 500; font-size: 13px; color: #344054; margin-bottom: 6px; }
.form-control {
    border-color: #d0d5dd;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #101828;
}
.form-control:focus { border-color: #1a6fc4; box-shadow: 0 0 0 3px rgba(26,111,196,.14); }

.input-group .form-control { border-radius: 0 8px 8px 0; }
.input-group-text {
    background: #f8f9fb;
    border-color: #d0d5dd;
    color: #6c757d;
    border-radius: 8px 0 0 8px;
    padding: 0 14px;
}
.btn-outline-secondary {
    border-color: #d0d5dd;
    color: #6c757d;
    border-radius: 0 8px 8px 0;
}

/* Submit button */
.btn-primary {
    background: #1a6fc4;
    border-color: #1a6fc4;
    padding: 11px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: .2px;
    margin-top: 4px;
}
.btn-primary:hover { background: #155ba0; border-color: #155ba0; }
.btn-primary:disabled { opacity: .75; }

/* Footer */
.login-footer-text {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    text-align: center;
    margin: 0;
}

@media (max-width: 480px) {
    .login-card { padding: 28px 22px 24px; border-radius: 14px; }
    .login-logo { width: 58px; height: 58px; }
}
