/* ===== AUTHENTICATION STYLES ===== */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--silver);
    margin-bottom: 1.5rem;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    color: var(--text-light);
}

.auth-tab.active {
    color: var(--midnight-blue);
    border-bottom-color: var(--midnight-blue);
}

.auth-tab:hover {
    background: var(--clouds);
}

.auth-form {
    padding: 0 0.5rem;
}

.auth-form h3 {
    margin: 0 0 1.5rem 0;
    text-align: center;
    color: var(--midnight-blue);
}

.auth-links {
    margin-top: 1rem;
    text-align: center;
}

.auth-links a {
    color: var(--peter-river);
    text-decoration: none;
    font-size: 0.875rem;
}

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

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 0.875rem;
}

/* Offline indicator */
.offline-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--sun-flower);
    color: var(--text);
    text-align: center;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 10000;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

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

/* Sync status indicators */
.sync-status {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.sync-status.synced { background: var(--emerald); }
.sync-status.pending { background: var(--sun-flower); }
.sync-status.error { background: var(--alizarin); }