/* ================================================================
   AUTH PAGES - Pure CSS, Flexbox/Grid, no frameworks
   For: login, register, age gate, forgot password, verify email
   Project: wildgirls.media
   ================================================================ */

:root {
    --color-primary: #e91e63;
    --color-primary-hover: #c2185b;
    --color-bg: #0a0a0a;
    --color-surface: #1a1a1a;
    --color-surface-hover: #252525;
    --color-border: #333;
    --color-text: #f5f5f5;
    --color-text-muted: #999;
    --color-text-link: #e91e63;
    --color-error: #f44336;
    --color-success: #4caf50;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.2s ease;
}

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

body {
    font-family: var(--font); background: var(--color-bg); color: var(--color-text);
    min-height: 100vh; display: flex; align-items: center; justify-content: center; line-height: 1.6;
}

.auth-wrapper { width: 100%; max-width: 440px; padding: 20px; }
.auth-card {
    background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: var(--radius-lg); padding: 40px 32px; box-shadow: var(--shadow);
}

/* Brand */
.auth-brand { text-align: center; margin-bottom: 32px; }
.auth-brand-name { font-size: 28px; font-weight: 700; color: var(--color-primary); }
.auth-brand-tagline { font-size: 14px; color: var(--color-text-muted); margin-top: 4px; }
.auth-title { font-size: 22px; font-weight: 600; text-align: center; margin-bottom: 24px; }

/* Form */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.input-field {
    width: 100%; padding: 12px 16px; background: var(--color-bg);
    border: 1px solid var(--color-border); border-radius: var(--radius);
    color: var(--color-text); font-size: 15px; font-family: var(--font);
    transition: var(--transition); outline: none;
}
.input-field:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(233,30,99,0.15); }
.input-field::placeholder { color: var(--color-text-muted); }
.input-field.has-error { border-color: var(--color-error); }
.field-error { font-size: 13px; color: var(--color-error); margin-top: 4px; }

/* Buttons */
.button-primary {
    width: 100%; padding: 14px 24px; background: var(--color-primary); color: #fff;
    border: none; border-radius: var(--radius); font-size: 16px; font-weight: 600;
    font-family: var(--font); cursor: pointer; transition: var(--transition);
}
.button-primary:hover { background: var(--color-primary-hover); }
.button-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.button-secondary {
    width: 100%; padding: 14px 24px; background: transparent; color: var(--color-text);
    border: 1px solid var(--color-border); border-radius: var(--radius);
    font-size: 16px; font-weight: 500; font-family: var(--font); cursor: pointer; transition: var(--transition);
}
.button-secondary:hover { background: var(--color-surface-hover); }

/* Links */
.auth-link { color: var(--color-text-link); text-decoration: none; font-size: 14px; }
.auth-link:hover { text-decoration: underline; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--color-text-muted); }

/* Messages */
.message-success {
    background: rgba(76,175,80,0.1); border: 1px solid var(--color-success);
    color: var(--color-success); padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px;
}
.message-error {
    background: rgba(244,67,54,0.1); border: 1px solid var(--color-error);
    color: var(--color-error); padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px;
}

/* Checkbox */
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.checkbox-group input[type="checkbox"] { margin-top: 3px; accent-color: var(--color-primary); }
.checkbox-group label { font-size: 14px; color: var(--color-text-muted); }

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

/* Age gate */
.age-gate-warning { text-align: center; font-size: 48px; margin-bottom: 16px; }
.age-gate-text { text-align: center; font-size: 15px; color: var(--color-text-muted); margin-bottom: 24px; }
.age-gate-buttons { display: flex; gap: 12px; }
.age-gate-buttons .button-primary, .age-gate-buttons .button-secondary { flex: 1; }

/* Two-column row */
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }

/* Responsive */
@media (max-width: 480px) {
    .auth-card { padding: 28px 20px; }
    .auth-wrapper { padding: 12px; }
    .form-row { flex-direction: column; gap: 0; }
    .age-gate-buttons { flex-direction: column; }
}

/* ============================================================================
   SOCIAL LOGIN BUTTONS - Pure CSS (Blade views)
   Google, Facebook, Twitter/X, Apple OAuth buttons
   ============================================================================ */
.social-login-section { width: 100%; margin-top: 24px; }
.social-divider { position: relative; text-align: center; margin-bottom: 20px; }
.social-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: #e0e0e0; }
.social-divider-text { position: relative; background: #fff; padding: 0 16px; color: #888; font-size: 13px; font-weight: 500; }
.social-buttons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.social-button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 8px; border: 2px solid #e8e8e8; border-radius: 10px; background: #fff; text-decoration: none; transition: all 0.2s ease; cursor: pointer; }
.social-button:hover { border-color: #ccc; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.social-button:active { transform: translateY(0); }
.social-button:focus-visible { outline: 2px solid #e91e63; outline-offset: 2px; }
.social-google:hover { border-color: #4285F4; background: #f8f9ff; }
.social-facebook:hover { border-color: #1877F2; background: #f0f5ff; }
.social-twitter:hover { border-color: #000; background: #f7f7f7; }
.social-apple:hover { border-color: #000; background: #f7f7f7; }
.social-icon { width: 22px; height: 22px; flex-shrink: 0; }
.social-label { font-size: 11px; font-weight: 600; color: #555; }
.passwordless-section { text-align: center; margin-top: 12px; }
.passwordless-link { color: #888; font-size: 13px; text-decoration: none; transition: color 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.passwordless-link:hover { color: #e91e63; }
.passwordless-icon { width: 16px; height: 16px; }
.auth-description { color: #888; font-size: 14px; line-height: 1.5; margin-bottom: 20px; text-align: center; }
@media (max-width: 480px) { .social-buttons-grid { grid-template-columns: repeat(2, 1fr); } }
