/* ═══════════════════════════════════════════════════════
   PRICELIO – Auth Page Styles (Login/Register)
═══════════════════════════════════════════════════════ */

.auth-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    z-index: 2;
}

.auth-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.auth-brand-content {
    text-align: center;
    max-width: 400px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 3rem;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-logo-mark {
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
}

.brand-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: .02em;
}

.brand-tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.brand-tagline-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.brand-feature {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--text-secondary);
    font-size: .95rem;
}

.brand-feature-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary);
}

.auth-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-subtle);
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
}

.auth-tabs {
    display: flex;
    gap: .5rem;
    margin-bottom: 2rem;
    background: var(--bg-card);
    padding: .25rem;
    border-radius: 100px;
    border: 1px solid var(--border-subtle);
}

.auth-tab {
    flex: 1;
    padding: .75rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 100px;
    color: var(--text-secondary);
    font-family: 'Manrope', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
}

.auth-tab.active {
    background: var(--accent-gradient);
    color: #fff;
}

.auth-form { display: none; }

.auth-form.active {
    display: block;
    animation: fadeIn .3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-form-header { margin-bottom: 2rem; }

.auth-form-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.auth-form-subtitle { color: var(--text-secondary); font-size: .95rem; }

.auth-form-subtitle a { color: var(--accent-primary); text-decoration: none; font-weight: 500; }

.form-group { margin-bottom: 1.25rem; }

.form-label {
    display: block;
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: .5rem;
}

.form-input {
    width: 100%;
    padding: .9rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Manrope', sans-serif;
    font-size: .95rem;
    outline: none;
    transition: all .3s ease;
}

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

.form-input:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-primary-glow); }

.form-input.error { border-color: var(--error); }

.form-error { font-size: .8rem; color: var(--error); margin-top: .4rem; display: none; }

.form-error.visible { display: block; }

.form-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }

.form-checkbox { display: flex; align-items: center; gap: .5rem; cursor: pointer; }

.form-checkbox input { width: 18px; height: 18px; accent-color: var(--accent-primary); cursor: pointer; }

.form-checkbox span { font-size: .85rem; color: var(--text-secondary); }

.form-link { font-size: .85rem; color: var(--accent-primary); text-decoration: none; font-weight: 500; }

.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.75rem 0; color: var(--text-muted); font-size: .8rem; }

.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-subtle); }

.social-buttons { display: flex; flex-direction: column; gap: .75rem; }

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    width: 100%;
    padding: .85rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    color: var(--text-primary);
    font-family: 'Manrope', sans-serif;
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s ease;
}

.btn-social:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateY(-2px); }

.btn-social.disabled { opacity: .5; cursor: not-allowed; }

.coming-soon-badge { font-size: .65rem; padding: .2rem .5rem; background: var(--bg-primary); border-radius: 100px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }

.back-link {
    position: absolute;
    top: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: color .2s ease;
    z-index: 10;
}

.back-link:hover { color: var(--text-primary); }

.auth-success { display: none; text-align: center; padding: 2rem; }

.auth-success.active { display: block; animation: fadeIn .4s ease; }

.auth-success-icon {
    width: 64px;
    height: 64px;
    background: rgba(0,212,170,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.auth-success h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; margin-bottom: .5rem; }

.auth-success p { color: var(--text-secondary); margin-bottom: 1.5rem; }

@media (max-width: 1024px) {
    .auth-container { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
    .auth-form-panel { border-left: none; }
    .back-link { top: 1.5rem; left: 1.5rem; }
}

@media (max-width: 480px) {
    .auth-form-panel { padding: 2rem 1.5rem; }
    .auth-tabs { flex-direction: column; }
}
