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

/* ── CARD ── */
#signup-card {
    width: 100%; max-width: 480px;
    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.3rem;
    animation: fadeUp 0.8s ease;
}
body.dark-theme #signup-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 #signup-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.8rem; font-weight: 800; letter-spacing: -1px; color: var(--text-strong); margin-bottom: 0.4rem; }
.heading-section p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ── 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;
    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%; margin-bottom: 0.6rem; }
.pwd-wrap:last-of-type { margin-bottom: 0; }
.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;
}

/* ── PASSWORD MATCH MESSAGE ── */
#pwd-message { font-size: 0.8rem; font-weight: 600; min-height: 1rem; color: var(--negative); }
#pwd-message.match { color: var(--positive); }

/* ── SUBMIT ── */
#signup-card button[type="submit"] {
    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);
}
#signup-card button[type="submit"]:hover { background: var(--accent-light); transform: scale(1.02); box-shadow: 0 15px 40px rgba(194,136,64,0.3); }
#signup-card button[type="submit"]:active { transform: scale(0.99); }

/* ── MESSAGES & LINKS ── */
.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) {
    #signup-container { padding: 2rem 1.2rem; }
    #signup-card { padding: 2rem 1.5rem; border-radius: 24px; gap: 1rem; }
    .heading-section h1 { font-size: 1.5rem; }
    input[type="email"], input[type="password"], input[type="text"] { padding: 0.9rem; font-size: 0.9rem; }
}