/* SaláoPro — Auth Pages (Login/Register) */

:root {
    --navy: #0A0E1A;
    --navy-light: #111827;
    --navy-card: #151B2B;
    --navy-border: #1E293B;
    --teal: #00D4AA;
    --cyan: #00B4D8;
    --purple: #7C5CFC;
    --white: #FFFFFF;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gradient-main: linear-gradient(135deg, var(--teal), var(--cyan), var(--purple));
    --font-display: 'Sora', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--gray-300);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: var(--teal); transition: .3s; }
a:hover { color: var(--cyan); }

/* Layout */
.auth-wrapper {
    display: flex;
    min-height: 100vh;
}

.auth-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px;
    max-width: 560px;
}

.auth-right {
    flex: 1;
    background: var(--navy-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    border-left: 1px solid var(--navy-border);
    position: relative;
    overflow: hidden;
}

.auth-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(0,212,170,0.05) 0%, transparent 70%);
}

.auth-right-content {
    position: relative;
    z-index: 1;
    max-width: 400px;
}

.auth-right-content h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 24px;
}

/* Brand */
.auth-brand {
    margin-bottom: 48px;
}

.auth-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
}

.logo-icon { font-size: 1.5rem; }
.logo-accent { color: var(--teal); }

/* Card */
.auth-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-card h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--gray-400);
    margin-bottom: 32px;
    font-size: 1rem;
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-300);
    margin-bottom: 8px;
}

.form-group label small {
    color: var(--gray-500);
    font-weight: 400;
}

.form-link {
    font-size: 0.82rem;
    color: var(--teal);
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--navy-border);
    background: rgba(255,255,255,0.04);
    color: var(--white);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all 0.3s;
    outline: none;
}

.form-group input::placeholder { color: var(--gray-500); }

.form-group input:focus,
.form-group select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0,212,170,0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group select option { background: var(--navy-card); color: var(--white); }

.input-password {
    position: relative;
}
.input-password input { padding-right: 48px; }
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: .3s;
}
.btn-primary {
    background: var(--gradient-main);
    color: var(--navy);
    box-shadow: 0 4px 20px rgba(0,212,170,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,212,170,0.4);
}
.btn-block { width: 100%; }

/* Alert */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.9rem;
    line-height: 1.5;
}
.alert-danger {
    background: rgba(255,107,107,0.1);
    border: 1px solid rgba(255,107,107,0.2);
    color: #FF6B6B;
}

/* Footer text */
.auth-footer-text {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--gray-400);
}

.auth-terms {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 16px;
    line-height: 1.6;
}

/* Right side */
.auth-testimonial {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 32px;
}

.auth-testimonial p {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--gray-200);
    margin-bottom: 20px;
}

.auth-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.auth-testimonial-author strong { color: var(--white); display: block; }
.auth-testimonial-author span { font-size: 0.82rem; color: var(--gray-500); }

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-feature {
    font-size: 0.95rem;
    color: var(--gray-300);
    padding: 10px 16px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--navy-border);
}

/* Responsive */
@media (max-width: 900px) {
    .auth-right { display: none; }
    .auth-left { max-width: 100%; margin: 0 auto; }
}

@media (max-width: 500px) {
    .auth-left { padding: 24px; }
    .auth-card h1 { font-size: 1.6rem; }
    .form-row { grid-template-columns: 1fr; }
}
