/* ===== AUTH PAGES CSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --spotify-green: #1DB954;
    --spotify-dark: #121212;
    --card-bg: #181818;
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --text-muted: #535353;
    --border: #282828;
    --danger: #E22134;
}

body { font-family: 'Inter', sans-serif; background: var(--spotify-dark); color: var(--text-primary); }

.auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #0a2a1a 100%); }

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

.auth-box { background: var(--card-bg); border-radius: 16px; padding: 48px 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }

.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo i { font-size: 52px; color: var(--spotify-green); display: block; margin-bottom: 12px; }
.auth-logo h1 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.auth-logo p { color: var(--text-secondary); font-size: 14px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text-primary); }
.form-group input { width: 100%; background: #2a2a2a; border: 1px solid var(--border); color: var(--text-primary); padding: 12px 14px; border-radius: 6px; font-size: 14px; font-family: inherit; transition: border-color 0.2s; }
.form-group input:focus { outline: none; border-color: var(--spotify-green); }
.form-group input::placeholder { color: var(--text-muted); }

.input-icon { position: relative; }
.input-icon input { padding-right: 42px; }
.toggle-pass { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); cursor: pointer; font-size: 15px; transition: color 0.2s; }
.toggle-pass:hover { color: var(--text-primary); }

.btn-auth { width: 100%; background: var(--spotify-green); color: #000; border: none; padding: 14px; border-radius: 50px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.2s, transform 0.1s; margin-top: 8px; font-family: inherit; }
.btn-auth:hover { background: #1ed760; transform: scale(1.01); }

.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { color: var(--text-muted); font-size: 13px; }

.auth-footer { text-align: center; margin-top: 24px; }
.auth-footer p { color: var(--text-secondary); font-size: 14px; margin-bottom: 8px; }
.auth-footer a { color: var(--spotify-green); text-decoration: none; font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.alert-error { background: rgba(226,33,52,0.15); color: #E22134; border: 1px solid rgba(226,33,52,0.3); }
.alert-success { background: rgba(29,185,84,0.15); color: var(--spotify-green); border: 1px solid rgba(29,185,84,0.3); }

@media (max-width: 480px) {
    .auth-box { padding: 32px 24px; }
}
