.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.5s ease-out forwards;
}

.animate-slide-down {
    animation: slideDown 0.3s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.3s ease-out forwards;
}

.animate-bounce-in {
    animation: bounceIn 0.5s ease-out forwards;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.spinner-dark {
    width: 20px;
    height: 20px;
    border: 2.5px solid #e4e4e7;
    border-top-color: #71717a;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.toast {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    z-index: 9999;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    max-width: calc(100vw - 2rem);
    text-align: center;
}

.toast-success {
    background: #065f46;
    color: white;
}

.toast-error {
    background: #991b1b;
    color: white;
}

.toast-info {
    background: #1e40af;
    color: white;
}

.nb-toast {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.25rem;
    border: 3px solid #1a1a1a;
    border-radius: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 9999;
    animation: slideDown 0.3s ease-out;
    box-shadow: 4px 4px 0px #1a1a1a;
    max-width: calc(100vw - 2rem);
    text-align: center;
}

.nb-toast-success {
    background: #7BED9F;
    color: #1a1a1a;
}

.nb-toast-error {
    background: #FF6B6B;
    color: #fff;
}

.nb-toast-info {
    background: #4ECDC4;
    color: #1a1a1a;
}

.sh-toast {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.25rem;
    border: 1px solid #e4e4e7;
    border-radius: 0.375rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    z-index: 9999;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    max-width: calc(100vw - 2rem);
    text-align: center;
}

.sh-toast-success {
    background: #065f46;
    color: white;
    border-color: transparent;
}

.sh-toast-error {
    background: #991b1b;
    color: white;
    border-color: transparent;
}

.sh-toast-info {
    background: #18181b;
    color: #fafafa;
    border-color: transparent;
}

.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 0.375rem;
}
