/* ── BillingIssueStep — global (component-level CSS) ── */

.step-controls {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.btn-action {
    min-height: 2.375rem;
}

.step-metadata {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.4rem 1rem;
    margin-top: 0.5rem;
}

.step-metadata dt {
    font-weight: 600;
    font-size: 0.88rem;
    color: #4e647a;
}

.step-metadata dd {
    margin: 0;
    font-size: 0.88rem;
    color: #20374e;
}

body.dark .step-metadata dt {
    color: #92aec8;
}

body.dark .step-metadata dd {
    color: #deefff;
}

.error-details {
    margin-top: 0.75rem;
    border: 1px solid #e57373;
    border-radius: 8px;
    overflow: hidden;
}

body.dark .error-details {
    border-color: #c62828;
}

.error-details summary {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #c62828;
    background: #ffebee;
    cursor: pointer;
}

body.dark .error-details summary {
    color: #ef9a9a;
    background: #3e1f1f;
}

.error-details ul {
    margin: 0;
    padding: 0.5rem 0.75rem 0.5rem 1.5rem;
    font-size: 0.82rem;
    color: #8f1f1f;
}

body.dark .error-details ul {
    color: #ffcdd2;
}

.error {
    color: #d32f2f;
    font-weight: 500;
    font-size: 0.88rem;
}

body.dark .error {
    color: #ff6b6b;
}

.success {
    color: #2e7d32;
    font-weight: 500;
    font-size: 0.88rem;
}

body.dark .success {
    color: #81c784;
}

@media (max-width: 720px) {
    .step-controls {
        flex-direction: column;
    }

    .step-controls .btn-action {
        width: 100%;
    }
}
