body, html {
    touch-action: manipulation;
}

.mobile-menu {
    display: none;
}

.tab-button {
    position: relative;
    background: transparent;
    color: #9ca3af;
    border: none;
    cursor: pointer;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.5rem;
    right: 0.5rem;
    height: 3px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.tab-button.active {
    color: #ffffff !important;
    background: transparent !important;
}

.tab-button.active::after {
    background-color: #9333ea;
}

.tab-button:hover:not(.active) {
    color: #d1d5db;
}

.menu-btn {
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .menu-btn {
        min-width: 44px;
        min-height: 44px;
    }
}

.menu-btn:active {
    background-color: #4b5563;
}

@media (min-width: 1024px) {
    .mobile-menu {
        display: none !important;
    }
}

.spinner {
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top: 8px solid #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
