/* Custom Styles and Animations */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a; 
}
::-webkit-scrollbar-thumb {
    background: #374151; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4b5563; 
}

/* Glassmorphism utils */
.glass-panel {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Toast animations */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast-enter {
    animation: slideUpFade 0.3s ease-out forwards;
}

.toast-exit {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-in;
}

/* HTML content prose styling for admin preview */
.prose-invert h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; color: #fff; }
.prose-invert h2 { font-size: 1.875rem; font-weight: 600; margin-bottom: 0.75rem; color: #fff; }
.prose-invert p { margin-bottom: 1rem; color: #d1d5db; line-height: 1.6; }
.prose-invert a { color: #a78bfa; text-decoration: underline; }
.prose-invert ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1rem; color: #d1d5db; }
