/* UI Button Theme Component Styles */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #007bff;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.5);
    border-color: #0056b3;
}

.theme-toggle-btn:active {
    transform: scale(0.95);
}

.theme-toggle-btn .theme-icon {
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Dark Theme Styles */
[data-theme="dark"] .theme-toggle-btn {
    border-color: #ffc107;
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

[data-theme="dark"] .theme-toggle-btn:hover {
    border-color: #e0a800;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.5);
}

/* Size variations */
.theme-toggle-btn.btn-sm {
    width: 32px;
    height: 32px;
}

.theme-toggle-btn.btn-sm .theme-icon {
    font-size: 14px;
}

.theme-toggle-btn.btn-lg {
    width: 48px;
    height: 48px;
}

.theme-toggle-btn.btn-lg .theme-icon {
    font-size: 20px;
}

/* Position variations for inline usage */
.theme-toggle-btn.inline {
    position: relative;
    margin: 0;
}

.theme-toggle-btn.navbar-btn {
    width: 36px;
    height: 36px;
    margin-left: 10px;
}

.theme-toggle-btn.navbar-btn .theme-icon {
    font-size: 15px;
}

/* Animation for theme switching */
@keyframes themeSwitch {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg); }
}

.theme-toggle-btn.switching .theme-icon {
    animation: themeSwitch 0.6s ease-in-out;
}
