/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes scale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-scale {
    animation: scale 6s ease-in-out infinite;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Dark mode scrollbar */
.dark ::-webkit-scrollbar-thumb {
    background: #475569;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Add this class to any content that needs scrolling */
.scroll-content {
    overflow-y: auto;
    max-height: 100%;
}

/* For Firefox */
.scroll-content {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.dark .scroll-content {
    scrollbar-color: #475569 transparent;
}

/* Hide scrollbar when not needed */
.scroll-content:not(:hover)::-webkit-scrollbar {
    width: 0;
}

.scroll-content:not(:hover) {
    scrollbar-width: none;
}

/* Modal Styles */
.modal-header {
    position: sticky;
    top: 0;
    background-color: inherit;
    padding: 1.5rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    z-index: 10;
}

.dark .modal-header {
    background-color: rgb(31, 41, 55); /* dark:bg-gray-800 */
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
}

.dark .modal-header::after {
    background: linear-gradient(to bottom, rgba(31, 41, 55, 0.1), transparent);
}

.modal-content-wrapper {
    position: relative;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 1.5rem 1.5rem 1.5rem;
} 