
/* Custom Styles & Animations */

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

.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}
/* Model Dropdown Styles */
#model-dropdown {
    z-index: 9999;
    position: absolute;
    width: 100%;
    background: #000;
    border: 1px solid #333;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    max-height: 300px;
    overflow-y: auto;
}
/* Ensure the parent container has relative positioning and proper z-index context */
.relative {
    position: relative;
}

/* Fix z-index for the container with the dropdown */
.relative:has(#model-dropdown) {
    z-index: 50;
}

/* Add high z-index for dropdown */
#model-dropdown {
    z-index: 60;
}
.model-option {
cursor: pointer;
    transition: all 0.15s;
}

.model-option:hover {
    background: rgba(99, 102, 241, 0.1);
}

.model-option.selected {
    background: rgba(99, 102, 241, 0.2);
    border-left: 3px solid #6366f1;
}

/* Custom scrollbar for dropdown */
#model-dropdown::-webkit-scrollbar {
    width: 6px;
}

#model-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

#model-dropdown::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 3px;
}

#model-dropdown::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}
.model-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.model-badge.uncensored {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.model-badge.fast {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.model-badge.creative {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
}
/* Focus visible styles for accessibility */
button:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* Tooltip imitation (simple) */
[title]:hover::after {
    /* In a real project we might want a custom tooltip, 
       but for minimal, native title is acceptable or custom CSS only */
}
/* Glassmorphism utility tweaks */
.glass {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Selection color */
::selection {
    background-color: rgba(255, 255, 255, 0.3);
}
