:root {
    --bg-main: #050608;
    --bg-panel: #10131b;
    --accent: #7CFF3A;
    --accent-soft: rgba(124, 255, 58, 0.12);
    --text-main: #f5f5f5;
    --text-muted: #9da3b3;
    --border-subtle: #262b36;
    --danger: #ff4b6a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at top, #101320 0, #050608 60%);
    color: var(--text-main);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* Card container */
.card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-panel);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.03);
    box-shadow: 0 20px 45px rgba(0,0,0,0.85);
    padding: 22px 20px 20px;
}

.card-title {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.card-sub {
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Fields */
.field {
    margin-bottom: 12px;
}

label {
    font-size: .78rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

input {
    width: 100%;
    padding: 9px 11px;
    border-radius: 10px;
    background: #05070c;
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    font-size: .85rem;
    outline: none;
}

input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(124,255,58,0.4);
    background: #05060a;
}

/* Error box */
.error {
    margin-bottom: 12px;
    padding: 9px 11px;
    border-radius: 10px;
    background: rgba(255, 75, 106, 0.08);
    border: 1px solid rgba(255, 75, 106, 0.7);
    font-size: .75rem;
    color: #ffd7e0;
}

/* Buttons */
.actions {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn {
    border-radius: 999px;
    padding: 9px 16px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    display: flex;
    justify-content: center;
}

.btn-primary {
    background: var(--accent);
    color: #020204;
    box-shadow: 0 16px 30px rgba(0,0,0,0.6);
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.btn-secondary {
    background: transparent;
    color: var(--text-muted);
    border-color: var(--border-subtle);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--text-main);
    background: rgba(124,255,58,0.04);
}

/* Footer links */
.footer-links {
    margin-top: 12px;
    font-size: .72rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--accent);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}
