.premium-card {
    background: var(--theme-bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--theme-border);
    box-shadow: var(--theme-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    color: var(--theme-text-main);
}

.premium-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 45px 0 var(--theme-shadow);
    border-color: var(--theme-accent);
}

.category-pill {
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    background-color: var(--theme-bg-card);
    border-color: var(--theme-border);
    color: var(--theme-text-muted);
}

.category-pill.active {
    background-color: var(--theme-accent);
    color: white;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--theme-accent), transparent 70%);
    border-color: var(--theme-accent);
}

.category-pill:not(.active):hover {
    background-color: var(--theme-bg-surface);
    border-color: var(--theme-accent);
    color: var(--theme-accent);
}

.tab-btn {
    position: relative;
    transition: all 0.4s;
    color: var(--theme-text-muted);
}

.tab-btn.active {
    color: var(--theme-accent);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--theme-accent);
    transition: all 0.4s;
    transform: translateX(-50%);
    border-radius: 10px;
}

.tab-btn.active::after {
    width: 80%;
}

.status-badge {
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 99px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
}

.fab-button {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: var(--theme-accent);
    box-shadow: 0 10px 20px -5px color-mix(in srgb, var(--theme-accent), transparent 60%);
}

.fab-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px -5px color-mix(in srgb, var(--theme-accent), transparent 40%);
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--theme-border);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--theme-accent);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-scale {
    animation: fadeInScale 0.4s ease-out forwards;
}

.table-pill {
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    background-color: var(--theme-bg-card);
    border-color: var(--theme-border);
    color: var(--theme-text-muted);
}

.table-pill.active {
    background-color: var(--theme-accent);
    color: white;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--theme-accent), transparent 70%);
    border-color: var(--theme-accent);
}

.table-pill:not(.active):hover {
    background-color: var(--theme-bg-surface);
    border-color: var(--theme-accent);
    color: var(--theme-accent);
}

.tab-container {
    background-color: color-mix(in srgb, var(--theme-bg-card), transparent 50%);
    backdrop-filter: blur(12px);
    border: 1px solid var(--theme-border);
}

/* Responsive fixes for dark mode */
[class*="bg-slate-50"] {
    background-color: var(--theme-bg-surface) !important;
}

[class*="text-slate-"] {
    color: var(--theme-text-muted);
}

[class*="text-slate-900"],
[class*="text-slate-800"] {
    color: var(--theme-text-main);
}