/* Mobile Button & Toggle Styles */

@media (max-width: 768px) {

    /* iOS-style toggle switches */
    .mobile-toggle {
        width: 50px;
        height: 30px;
        border-radius: 15px;
        background: #E5E5EA;
        border: none;
        position: relative;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        outline: none;
    }

    .mobile-toggle.active {
        background: #007AFF;
    }

    body.dark .mobile-toggle {
        background: #39393D;
    }

    body.dark .mobile-toggle.active {
        background: #0A84FF;
    }

    .mobile-toggle-thumb {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: white;
        position: absolute;
        top: 2px;
        left: 2px;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        will-change: transform;
    }

    .mobile-toggle.active .mobile-toggle-thumb {
        transform: translateX(20px);
    }

    /* Add visual feedback on press */
    .mobile-toggle:active .mobile-toggle-thumb {
        width: 28px;
    }

    .mobile-toggle.active:active .mobile-toggle-thumb {
        width: 28px;
        transform: translateX(18px);
    }

    /* Settings Buttons */
    .mobile-setting-btn {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(0, 122, 255, 0.1);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #007AFF;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-setting-btn:active {
        transform: scale(0.95);
        background: rgba(0, 122, 255, 0.2);
    }

    body.dark .mobile-setting-btn {
        background: rgba(10, 132, 255, 0.15);
        color: #0A84FF;
    }

    body.dark .mobile-setting-btn:active {
        background: rgba(10, 132, 255, 0.25);
    }

}