/* ReSim custom styles */

.nav-tabs .nav-link {
    font-weight: 500;
}

.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline-block;
}

.htmx-request.htmx-indicator {
    display: inline-block;
}

/* Fade-in for HTMX swapped content */
.htmx-added {
    animation: fade-in 0.3s ease-in;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Compact tables */
.table-sm td, .table-sm th {
    font-size: 0.85rem;
}

/* Hide Alpine.js elements until initialized */
[x-cloak] {
    display: none !important;
}

/* Upload drop zone hover */
.upload-zone:hover {
    border-color: #2c3e50 !important;
    background-color: #f8f9fa;
}

/* Spinner for simulation run */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}
