.login-shell {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background: #f3f4f6;
}

.login-panel {
    width: min(100%, 440px);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.login-header-panel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 26px 28px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.header-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #374151;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: none;
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #6b7280;
    text-transform: uppercase;
}

.login-header-panel h1 {
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 1.9rem);
    line-height: 1.2;
    color: #111827;
    font-weight: 700;
}

.login-body {
    padding: 28px;
}

.login-subtitle {
    margin: 0 0 26px;
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.5;
}

.field-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 700;
}

.input-group {
    display: flex;
    align-items: center;
    width: 100%;
}

.input-group-text {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #d1d5db;
    border-right: none;
    border-radius: 12px 0 0 12px;
}

.form-control {
    height: 48px;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-left: none;
    border-radius: 0 12px 12px 0;
    font-size: 0.98rem;
    background: #fff;
    color: #0f172a;
}

.form-control:focus {
    border-color: #6b7280;
    box-shadow: 0 0 0 0.2rem rgba(107, 114, 128, 0.12);
    outline: none;
}

.field-error {
    margin-top: 8px;
    color: #b42318;
    font-size: 0.8rem;
    font-weight: 600;
}

.error-message {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    font-weight: 600;
}

.btn-login {
    width: 100%;
    height: 48px;
    margin-top: 6px;
    border: none;
    border-radius: 12px;
    background: #374151;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: none;
    background: #1f2937;
    color: #fff;
}

@media (max-width: 576px) {
    .login-shell {
        padding: 20px 12px;
    }

    .login-body,
    .login-header-panel {
        padding-left: 18px;
        padding-right: 18px;
    }
}
html[data-bs-theme="dark"] .login-shell { background: #111827; }
html[data-bs-theme="dark"] .login-panel { background: #1f2937; border-color: #465365; }
html[data-bs-theme="dark"] .login-header-panel { background: #273449; border-color: #465365; }
html[data-bs-theme="dark"] .login-header-panel h1,
html[data-bs-theme="dark"] .form-label { color: #f3f4f6; }
html[data-bs-theme="dark"] .eyebrow,
html[data-bs-theme="dark"] .login-subtitle { color: #c0cad7; }
html[data-bs-theme="dark"] .input-group-text { background: #273449; color: #e5e7eb; border-color: #536174; }
html[data-bs-theme="dark"] .form-control { background: #111827; color: #f3f4f6; border-color: #536174; }
html[data-bs-theme="dark"] .error-message { background: #273449; color: #f3f4f6; border-color: #536174; }
