::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

.content-overlay {
    opacity: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(2px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-area:hover .content-overlay {
    opacity: 1;
}

.copy-feedback {
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-area:hover .copy-feedback {
    opacity: 1;
    transform: translateY(0);
}

.action-button {
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-button:active {
    transform: scale(0.92);
}

.success-ring {
    animation: ring 0.5s ease-out;
}

@keyframes ring {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

.error-shake {
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.delete-slide {
    animation: slideOut 0.2s ease-out forwards;
}

@keyframes slideOut {
    to {
        transform: translateX(-10px);
        opacity: 0;
    }
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.3s;
}

.shine-effect:hover::after {
    left: 100%;
}
