/* Neuralis BookMaker - Auth Pages Styles */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.auth-logo .accent {
    color: var(--accent);
}

.auth-logo p {
    font-size: 0.9rem;
}

.auth-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.auth-tab {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all 0.2s;
}

.auth-tab:first-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    border-right: none;
}

.auth-tab:last-child {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.auth-tab:hover {
    color: var(--text-primary);
}

.auth-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

.auth-form {
    margin-bottom: 1.5rem;
}

.form-footer {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.forgot-link {
    font-size: 0.85rem;
    color: var(--accent);
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    background: var(--bg-card);
    padding: 0 1rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-google svg {
    flex-shrink: 0;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--accent);
}

.auth-switch a:hover {
    text-decoration: underline;
}

.alert {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert-error {
    background: rgba(248, 113, 113, 0.15);
    border: 1px solid var(--error);
    color: var(--error);
}

.alert-success {
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid var(--success);
    color: var(--success);
}

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

.required {
    color: var(--error);
}

@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem;
    }
}
