/* ============================================================
   AUTH PAGES - Login, Register, Password Reset
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #161615 50%, #0f0f0e 100%);
    color: #f7f3ec;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    padding: 24px;
}

/* Decorative background pattern */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(201,169,110,.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(201,169,110,.03) 0%, transparent 40%);
    pointer-events: none;
}

.auth-wrapper {
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 1;
}

/* Brand */
.auth-brand {
    text-align: center;
    margin-bottom: 32px;
}
.auth-brand a {
    text-decoration: none;
    color: #c9a96e;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: .02em;
    transition: color .3s;
}
.auth-brand a:hover { color: #e5c77d; }
.auth-brand p {
    color: rgba(255,255,255,.4);
    font-size: 13px;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: .15em;
}

/* Card */
.auth-card {
    width: 100%;
    background: rgba(19, 19, 19, .96);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 6px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(201,169,110,.06);
    backdrop-filter: blur(20px);
}
.auth-card h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.auth-card .subtitle {
    color: rgba(255,255,255,.5);
    font-size: 14px;
    margin-bottom: 28px;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 4px;
    background: rgba(22, 22, 21, .85);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    transition: border-color .3s, box-shadow .3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c9a96e;
    box-shadow: 0 0 0 3px rgba(201,169,110,.15);
}
.form-group input::placeholder { color: rgba(255,255,255,.25); }

/* Remember / Forgot row */
.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}
.form-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.6);
    cursor: pointer;
}
.form-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #c9a96e;
}
.form-row a {
    color: #c9a96e;
    text-decoration: none;
    font-weight: 500;
    transition: color .3s;
}
.form-row a:hover { color: #e5c77d; }

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    border: 2px solid #c9a96e;
    border-radius: 4px;
    background: #c9a96e;
    color: #0a0a0a;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s cubic-bezier(.4,0,.2,1);
}
.btn:hover {
    background: transparent;
    color: #c9a96e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,169,110,.3);
}
.btn-outline {
    background: transparent;
    color: #c9a96e;
}
.btn-outline:hover {
    background: #c9a96e;
    color: #0a0a0a;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}
.alert-error, .alert-danger {
    background: rgba(220, 38, 38, .15);
    border: 1px solid rgba(220, 38, 38, .3);
    color: #fca5a5;
}
.alert-success {
    background: rgba(5, 150, 105, .15);
    border: 1px solid rgba(5, 150, 105, .3);
    color: #6ee7b7;
}
.alert-info {
    background: rgba(59, 130, 246, .15);
    border: 1px solid rgba(59, 130, 246, .3);
    color: #93c5fd;
}

/* Auth Links */
.auth-links {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.auth-links a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
    font-size: 14px;
    transition: color .3s;
}
.auth-links a:hover { color: #c9a96e; }

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    font-size: 13px;
    color: rgba(255,255,255,.3);
    text-transform: uppercase;
    letter-spacing: .1em;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.08);
}

/* Footer text */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: rgba(255,255,255,.3);
}
.auth-footer a { color: rgba(255,255,255,.5); text-decoration: none; }
.auth-footer a:hover { color: #c9a96e; }

/* Back to Website */
.auth-back { text-align: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.auth-back a { color: rgba(255,255,255,.4); font-size: 13px; text-decoration: none; transition: color .2s; }
.auth-back a:hover { color: rgba(255,255,255,.8); }

/* Responsive */
@media (max-width: 480px) {
    .auth-card { padding: 28px 20px; }
    .auth-card h1 { font-size: 24px; }
}

/* Remember me */
.auth-remember { display: flex; align-items: center; gap: 8px; margin: 2px 0 14px; cursor: pointer; color: rgba(255,255,255,.65); font-size: 13px; user-select: none; }
.auth-remember input[type="checkbox"] { width: 16px; height: 16px; accent-color: #c9a96e; cursor: pointer; margin: 0; }
.auth-remember:hover { color: rgba(255,255,255,.85); }
