/* ==========================================================
   VibronTax Sacred Auth Styles - Professional Edition
   Login, Register, and Authentication pages
   ========================================================== */

/* ---------- Auth Container ---------- */
.sacred-auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--sacred-bg);
    position: relative;
    overflow: hidden;
    font-family: var(--sacred-font);
}

/* Disabled animated orbs for professional look */
.sacred-auth-container::before,
.sacred-auth-container::after {
    display: none;
}

/* Disabled floating orb */
.sacred-auth-orb {
    display: none;
}

/* ---------- Auth Card ---------- */
.sacred-auth-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    background: var(--sacred-panel);
    backdrop-filter: blur(8px);
    border: 1px solid var(--sacred-border);
    border-radius: 6px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

/* ---------- Auth Glyph (Professional Icon) ---------- */
.sacred-auth-glyph {
    text-align: center;
    margin-bottom: 1.5rem;
}

.sacred-auth-glyph-symbol {
    display: inline-block;
    font-size: 2.5rem;
    color: #2563eb;
    animation: none;
    text-shadow: none;
}

/* ---------- Auth Header ---------- */
.sacred-auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.sacred-auth-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--sacred-text);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.sacred-auth-subtitle {
    font-size: 0.9rem;
    color: var(--sacred-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ---------- Auth Tabs ---------- */
.sacred-auth-tabs {
    display: flex;
    background: var(--sacred-glass);
    border-radius: 4px;
    padding: 4px;
    margin-bottom: 2rem;
}

.sacred-auth-tab {
    flex: 1;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--sacred-text-muted);
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    text-decoration: none;
    text-align: center;
}

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

.sacred-auth-tab.active {
    color: var(--sacred-text);
    background: var(--sacred-card);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* ---------- Auth Form ---------- */
.sacred-auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sacred-auth-form .sacred-input-group {
    margin-bottom: 0;
}

.sacred-auth-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.sacred-auth-submit {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

/* ---------- Auth Links ---------- */
.sacred-auth-links {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.sacred-auth-link {
    color: var(--sacred-text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.sacred-auth-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* ---------- Auth Divider ---------- */
.sacred-auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--sacred-text-dim);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* ---------- Social Buttons ---------- */
.sacred-auth-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sacred-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--sacred-text);
    background: var(--sacred-glass);
    border: 1px solid var(--sacred-border);
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
}

.sacred-social-btn:hover {
    background: var(--sacred-glass-strong);
    border-color: var(--sacred-border-strong);
}

/* ---------- Auth Info Box ---------- */
.sacred-auth-info {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--sacred-text-muted);
    line-height: 1.6;
}

.sacred-auth-info strong {
    color: #2563eb;
    font-weight: 500;
}

/* ---------- Auth Checkbox ---------- */
.sacred-auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.sacred-auth-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #2563eb;
    cursor: pointer;
}

.sacred-auth-checkbox-label {
    font-size: 0.85rem;
    color: var(--sacred-text-muted);
    line-height: 1.5;
}

/* ---------- Auth Error ---------- */
.sacred-auth-error {
    padding: 0.85rem 1rem;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-left: 3px solid #dc2626;
    border-radius: 4px;
    color: #dc2626;
    font-size: 0.85rem;
}

.sacred-auth-success {
    padding: 0.85rem 1rem;
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.2);
    border-left: 3px solid #16a34a;
    border-radius: 4px;
    color: #16a34a;
    font-size: 0.85rem;
}

/* ---------- Auth Footer ---------- */
.sacred-auth-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sacred-border);
    text-align: center;
    font-size: 0.85rem;
    color: var(--sacred-text-dim);
}

.sacred-auth-footer a {
    color: var(--sacred-text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.sacred-auth-footer a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* ---------- Brand in Auth ---------- */
.sacred-auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sacred-text);
}

.sacred-auth-brand-icon {
    font-size: 1.3rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
    .sacred-auth-container {
        padding: 1rem;
    }

    .sacred-auth-card {
        padding: 2rem 1.5rem;
    }

    .sacred-auth-title {
        font-size: 1.35rem;
    }

    .sacred-auth-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
