/* Basic auth card layout (register/login) */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #0f172a;
    color: #e5e7eb;
    display: block;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

.auth-card {
    background: #020617;
    border-radius: 12px;
    padding: 24px 28px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 18px 45px rgba(0,0,0,0.6);
    border: 1px solid #1f2937;
}

.auth-title {
    font-size: 1.4rem;
    margin: 0 0 6px;
}

.auth-subtitle {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 16px;
}

.auth-field {
    margin-bottom: 14px;
}

.auth-label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.auth-input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #4b5563;
    background: #020617;
    color: #e5e7eb;
    font-size: 0.9rem;
}

.auth-input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 1px #22c55e44;
}

.auth-btn {
    width: 100%;
    padding: 10px 12px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #022c22;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    margin-top: 4px;
}

.auth-btn:hover {
    filter: brightness(1.05);
}

.auth-errors {
    background: #451a1a;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 12px;
    border: 1px solid #b91c1c;
    font-size: 0.8rem;
}

.auth-success {
    background: #022c22;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 12px;
    border: 1px solid #22c55e;
    font-size: 0.85rem;
}

.auth-small {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 10px;
}

.auth-link {
    color: #22c55e;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

/* Honeypot field (hidden from humans, visible to bots) */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
}

