/* ── MAIN ── */
#login-container {
    min-height: calc(100vh - 80px);
    display: flex; align-items: center; justify-content: center;
    padding: 3rem 1.5rem; position: relative; z-index: 1;
}

/* ── CARD ── */
#login-card {
    width: 100%; max-width: 440px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 30px; padding: 2.8rem 2.5rem;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    display: flex; flex-direction: column; gap: 1.4rem;
    animation: fadeUp 0.8s ease;
}
body.dark-theme #login-card {
    box-shadow: 0 0 0 1px rgba(194,136,64,0.08), 0 25px 60px rgba(0,0,0,0.4), 0 0 60px rgba(194,136,64,0.04);
}
body.light-theme #login-card {
    box-shadow: 0 0 0 1px rgba(212,175,55,0.1), 0 20px 50px rgba(0,0,0,0.08);
}

/* ── HEADING ── */
.heading-section { text-align: center; }
.heading-section h1 { font-size: 1.7rem; font-weight: 800; letter-spacing: -1px; color: var(--text-strong); line-height: 1.2; }

/* ── INPUT GROUP ── */
.input-group { display: flex; flex-direction: column; gap: 0.5rem; }
.input-group label { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 16px; padding: 1rem 1rem;
    color: var(--text-strong); font-family: inherit; font-size: 0.95rem;
    outline: none; transition: all 0.3s ease;
}
input:focus { border-color: var(--accent-light); box-shadow: 0 0 20px rgba(194,136,64,0.12); }
input::placeholder { color: var(--muted); }

/* ── PASSWORD WRAPPER ── */
.pwd-wrap { position: relative; width: 100%; }
.pwd-wrap input { padding-right: 3rem; }
.pwd-eye {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    cursor: pointer; font-size: 1rem; user-select: none; line-height: 1;
}

/* ── SUBMIT ── */
#submit-button {
    width: 100%; background: var(--accent); color: var(--text-strong);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 1rem;
    font-family: inherit; font-size: 0.95rem; font-weight: 700;
    cursor: pointer; transition: all 0.3s cubic-bezier(.4,0,.2,1);
}
#submit-button:hover { background: var(--accent-light); transform: scale(1.02); box-shadow: 0 15px 40px rgba(194,136,64,0.3); }
#submit-button:active { transform: scale(0.99); }

/* ── LINKS & MESSAGES ── */
.form-footer { text-align: center; color: var(--muted); font-size: 0.88rem; }
.form-footer a { color: var(--accent-light); text-decoration: none; font-weight: 600; }
.form-footer a:hover { color: var(--accent); }
#message { text-align: center; font-size: 0.85rem; min-height: 1.2rem; color: var(--negative); font-weight: 500; }
#message.success { color: var(--positive); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 500px) {
    #login-container { padding: 2rem 1.2rem; }
    #login-card { padding: 2rem 1.5rem; border-radius: 24px; gap: 1.1rem; }
    .heading-section h1 { font-size: 1.4rem; }
    input[type="email"], input[type="password"], input[type="text"] { padding: 0.9rem; font-size: 0.9rem; }
}