/* Filters bar */
.migrations-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.filters-form {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 0;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
}

.filter-select {
    padding: 0.375rem 0.625rem;
    font-size: 0.8125rem;
    font-family: inherit;
    color: #1e293b;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: border-color 0.15s;
}

.filter-select:hover {
    border-color: #94a3b8;
}

.filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #475569;
    cursor: pointer;
}

.filter-checkbox input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    accent-color: #3b82f6;
}

.migrations-count {
    font-size: 0.8125rem;
    color: #94a3b8;
    flex-shrink: 0;
}

/* Cells */
.cell-id {
    font-variant-numeric: tabular-nums;
    color: #94a3b8;
    font-size: 0.8125rem;
    text-align: center;
    width: 3.5rem;
}

.cell-migration {
    font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.8125rem;
    color: #1e293b;
}

.cell-date {
    font-variant-numeric: tabular-nums;
    font-size: 0.8125rem;
    color: #64748b;
    white-space: nowrap;
}

/* Badges */
.badge-workload {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e40af;
    background: #dbeafe;
    border-radius: 1rem;
}

.badge-env {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 1rem;
}

.badge-env--dev {
    color: #854d0e;
    background: #fef9c3;
}

.badge-env--control {
    color: #6b21a8;
    background: #f3e8ff;
}

.badge-env--prod {
    color: #166534;
    background: #dcfce7;
}

.migration-error {
    display: inline;
    margin-left: 0.5rem;
    font-size: 0.75rem;
    color: #991b1b;
}
