/* AI-Header: Theme toggle component styles */
/* Date: 2025-07-13 */

/* ===========================================
   THEME TOGGLE - BASE COMPONENTS
   =========================================== */

/* Theme toggle container */
.theme-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Base theme toggle button */
.theme-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    min-width: 120px;
    justify-content: center;
    text-decoration: none;
}

.theme-toggle-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.theme-toggle-btn:focus {
    box-shadow: 0 0 0 3px rgba(114, 47, 55, 0.2);
}

.theme-toggle-btn:active {
    transform: translateY(0);
}

.theme-toggle-loading {
    opacity: 0.7;
    cursor: not-allowed !important;
}

.theme-toggle-loading:hover {
    transform: none !important;
}

.theme-toggle-label {
    font-weight: 500;
}

/* ===========================================
   THEME TOGGLE - LIGHT THEME
   =========================================== */

[data-bs-theme="light"] .theme-toggle-btn {
    background: var(--theme-surface, #f8f9fa);
    border: 2px solid var(--theme-border, #dee2e6);
    color: var(--theme-text-primary, #212529);
}

[data-bs-theme="light"] .theme-toggle-btn:hover {
    border-color: var(--theme-primary, #722F37);
    background: var(--theme-surface-hover, #e9ecef);
    box-shadow: 0 4px 8px rgba(114, 47, 55, 0.2);
}

[data-bs-theme="light"] .theme-toggle-btn:focus {
    border-color: var(--theme-primary, #722F37);
    box-shadow: 0 0 0 3px rgba(114, 47, 55, 0.2);
}

.theme-toggle-light {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-color: #dee2e6;
    color: #495057;
}

.theme-toggle-light:hover {
    border-color: var(--theme-primary, #722F37);
    box-shadow: 0 4px 8px rgba(114, 47, 55, 0.15);
}

/* ===========================================
   THEME TOGGLE - DARK THEME
   =========================================== */

[data-bs-theme="dark"] .theme-toggle-btn {
    background: #2d2d2d;
    border: 2px solid #404040;
    color: #f8f9fa;
}

[data-bs-theme="dark"] .theme-toggle-btn:hover {
    border-color: #ff8a8a;
    background: #3d3d3d;
    box-shadow: 0 4px 8px rgba(255, 138, 138, 0.3);
}

[data-bs-theme="dark"] .theme-toggle-btn:focus {
    border-color: #ff8a8a;
    box-shadow: 0 0 0 3px rgba(255, 138, 138, 0.2);
}

.theme-toggle-dark {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-color: #404040;
    color: #f8f9fa;
}

.theme-toggle-dark:hover {
    border-color: #ff8a8a;
    box-shadow: 0 4px 8px rgba(255, 138, 138, 0.3);
}
