button {
    touch-action: manipulation;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Tabs */
.tab-btn {
    flex-shrink: 0;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    white-space: nowrap;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.tab-btn.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.9) 0%, rgba(139, 92, 246, 0.9) 100%);
    border-color: rgba(168, 85, 247, 1);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Item Card */
.item-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.125rem;
    padding: 1.125rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    animation: slideIn 0.3s ease;
}

.item-card:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 1px rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
}

.item-card.done {
    opacity: 0.45;
    background: rgba(255, 255, 255, 0.03);
}

.item-card.done .item-text {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.35);
}

/* Checkbox */
.item-checkbox {
    flex-shrink: 0;
    width: 1.625rem;
    height: 1.625rem;
    border-radius: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.04);
}

.item-checkbox:hover {
    border-color: rgba(168, 85, 247, 0.8);
    background: rgba(168, 85, 247, 0.15);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

.item-checkbox.checked {
    background: linear-gradient(135deg, rgba(168, 85, 247, 1) 0%, rgba(139, 92, 246, 1) 100%);
    border-color: #a855f7;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

.item-checkbox.checked::after {
    content: "✓";
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Item Text */
.item-text {
    flex: 1;
    font-size: 1rem;
    min-width: 0;
    word-break: break-word;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.96);
    letter-spacing: 0.3px;
}

/* Item Actions */
.item-actions {
    flex-shrink: 0;
    display: flex;
    gap: 0.625rem;
    opacity: 0.5;
}

.item-card:hover .item-actions {
    opacity: 1;
}

/* Buttons */
.item-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    border-radius: 0.625rem;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-weight: 600;
}

.item-btn:hover {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-1px);
}

.item-btn.delete:hover {
    color: #fca5a5;
    background: rgba(248, 113, 113, 0.15);
    border-color: rgba(248, 113, 113, 0.35);
}

/* Move Options */
.move-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    border-radius: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-weight: 600;
    animation: slideIn 0.2s ease;
}

.move-option:hover {
    background: rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.5);
    color: #fff;
    transform: translateX(4px);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}

.item-enter {
    animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-in {
    animation: fadeIn 0.25s ease;
}
