/* ============================================
   AUTH PAGES - SharpWebP Brand
   ============================================ */

:root {
    --green: #00D68F;
    --green-dim: #00D68F33;
    --purple: #7B61FF;
    --purple-dim: #7B61FF33;
    --bg-deep: #08080F;
    --bg-card: #111119;
    --bg-elevated: #1A1A24;
    --border: #1E1E2A;
    --border-light: #2A2A3A;
    --text-primary: #F0F0F5;
    --text-secondary: #9494A8;
    --text-muted: #5E5E72;
    --font-display: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --radius: 12px;
    --radius-lg: 16px;
    --error: #FF4D6A;
    --error-bg: #FF4D6A15;
    --success: #00D68F;
    --success-bg: #00D68F15;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    padding: 24px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
}

.auth-logo {
    display: block;
    text-align: center;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--green), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    margin-bottom: 32px;
}

.auth-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 32px;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.alert-error {
    background: var(--error-bg);
    color: var(--error);
    border: 1px solid #FF4D6A30;
}

.alert-success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid #00D68F30;
}

/* Form */
.auth-form { display: flex; flex-direction: column; gap: 20px; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-dim);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--green);
    width: 16px;
    height: 16px;
}

.form-link {
    color: var(--green);
    text-decoration: none;
    font-weight: 500;
}

.form-link:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--green);
    color: var(--bg-deep);
}

.btn-primary:hover {
    background: #00c080;
    transform: translateY(-1px);
}

.btn-full { width: 100%; }

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Footer link */
.auth-footer {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 24px;
}

.auth-footer a {
    color: var(--green);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 480px) {
    .auth-card { padding: 32px 20px; }
    .auth-container { padding: 16px; }
}
