/* Shared legacy rules that outlived the retired taxonomy stylesheet.
   Loaded by templates/index.html in the same position the old
   taxonomy/style.css used, so the cascade is unchanged. Fold these into
   static/css/style.css only after a desktop + mobile visual check. */

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.empty-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.input.disabled {
    background-color: #F8FAFC;
    color: #94A3B8;
    border-color: #E2E8F0;
    cursor: not-allowed;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid dashed var(--border);
}

.btn-danger {
    background: #FEF2F2;
    color: #EF4444;
    border-color: #FECACA;
}

.btn-danger:hover {
    background: #FEE2E2;
    border-color: #F87171;
}

.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: #CBD5E1;
    background: #F8FAFC;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    height: 32px;
}

.full-width {
    width: 100%;
    justify-content: center;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.section-head h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.skeleton-line {
    height: 12px;
    background: #E2E8F0;
    border-radius: 4px;
    width: 60%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

.bg-muted {
    background: #f9fafb;
}
