/* Animations */
.fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
    animation-delay: 4.5s;
}
@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; height: 0; margin: 0; padding: 0; }
}

/* Dark scrollbars */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0B0F19; }
::-webkit-scrollbar-thumb { background: #374151; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #4B5563; }

/* Reset focus styles & Chrome dropdown fix */
select:focus, input:focus, textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}

select option {
    background-color: #1F2937;
    color: #f1f5f9;
}

/* White arrow for dropdown in dark theme */
select.status-dropdown {
    appearance: none;

    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1em;
}

/* Custom Multiselect */
.multi-select-container {
    position: relative;
}
.multi-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
    background-color: #1F2937;
    border: 1px solid #374151;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    z-index: 50;
    max-height: 15rem;
    overflow-y: auto;
}
.multi-select-dropdown label:hover {
    background-color: #1e293b;
}

/* Highlighted Row */
.highlight-row {
    background-color: rgba(0, 230, 242, 0.05) !important;
    border-left: 2px solid #00E6F2 !important;
}

/* Prevent iOS auto-zoom on inputs */
@media screen and (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}