/* ========================================
   Theme.css - Dark/Light Mode Toggle
   ======================================== */

.theme-toggle {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
}

.theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--app-border-color);
    background: var(--app-bg-secondary);
    color: var(--app-text-primary);
    cursor: pointer;
    box-shadow: var(--app-shadow);
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.theme-toggle-btn:active {
    transform: scale(0.95);
}

.theme-toggle-btn svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.theme-toggle-btn:hover svg {
    transform: rotate(15deg);
}

/* Animação de transição do ícone */
.theme-icon-enter {
    animation: themeIconIn 0.3s ease forwards;
}

@keyframes themeIconIn {
    from {
        opacity: 0;
        transform: rotate(-90deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}
