/* Lightweight Mode Toggle Button */

.lightweight-toggle-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightweight-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.6);
}

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

.lightweight-toggle-btn.active {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.lightweight-toggle-btn.active:hover {
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.6);
}

/* Mobile positioning */
@media (max-width: 768px) {
    .lightweight-toggle-btn {
        bottom: 1rem;
        left: 1rem;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

/* Tooltip on hover (optional) */
.lightweight-toggle-btn::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-0.5rem);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.lightweight-toggle-btn:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-0.75rem);
}

/* Hide tooltip on mobile */
@media (max-width: 768px) {
    .lightweight-toggle-btn::before {
        display: none;
    }
}

/* Animation for button appearance */
@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.lightweight-toggle-btn {
    animation: slideInLeft 0.5s ease 0.5s both;
}
