/* Auth Header Widget Styles */

.auth-header-widget {
    display: inline-flex;
    align-items: center;
}

/* Logged out state - buttons inline */
.auth-header-logged-out {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* User info - stacked layout (email on top, sign out below) */
.auth-header-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.auth-header-user-email {
    font-size: 0.8125rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Buttons */
.auth-header-login-btn,
.auth-header-signup-btn {
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-header-logout-btn {
    padding: 0.125rem 0;
    border: none;
    background: transparent;
    font-size: 0.6875rem;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

/* ============================================
   LIGHT THEME
   ============================================ */
.auth-header-theme-light {
    --auth-accent: #6366f1;
    --auth-accent-hover: #4f46e5;
}

.auth-header-theme-light .auth-header-user-email {
    color: #374151;
}

.auth-header-theme-light .auth-header-login-btn {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #374151;
}

.auth-header-theme-light .auth-header-login-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.auth-header-theme-light .auth-header-signup-btn {
    background: var(--auth-accent);
    border: 1px solid var(--auth-accent);
    color: #ffffff;
}

.auth-header-theme-light .auth-header-signup-btn:hover {
    background: var(--auth-accent-hover);
    border-color: var(--auth-accent-hover);
}

.auth-header-theme-light .auth-header-logout-btn {
    color: #9ca3af;
}

.auth-header-theme-light .auth-header-logout-btn:hover {
    color: #6b7280;
}

/* ============================================
   DARK THEME
   ============================================ */
.auth-header-theme-dark {
    --auth-accent: #4ade80;
    --auth-accent-hover: #3fcf70;
}

.auth-header-theme-dark .auth-header-user-email {
    color: #c9d1d9;
}

.auth-header-theme-dark .auth-header-login-btn {
    background: transparent;
    border: 1px solid #444;
    color: #c9d1d9;
}

.auth-header-theme-dark .auth-header-login-btn:hover {
    background: #21262d;
    border-color: #8b949e;
}

.auth-header-theme-dark .auth-header-signup-btn {
    background: var(--auth-accent);
    border: 1px solid var(--auth-accent);
    color: #000;
}

.auth-header-theme-dark .auth-header-signup-btn:hover {
    background: var(--auth-accent-hover);
    border-color: var(--auth-accent-hover);
}

.auth-header-theme-dark .auth-header-logout-btn {
    color: #6b7280;
}

.auth-header-theme-dark .auth-header-logout-btn:hover {
    color: #8b949e;
}
