/**
 * CSS styly pro zobrazení insolvencí
 */

/* Sekce insolvence */
.company-insolvency {
    margin: 1.5rem 0;
}

.insolvency-alert {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border: 2px solid #fc8181;
    border-radius: 12px;
    padding: 1.5rem;
}

/* Varování */
.insolvency-warning {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

/* Badge stavu */
.insolvency-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
}

.insolvency-danger {
    background: #e53e3e;
    color: white;
}

.insolvency-warning {
    background: #dd6b20;
    color: white;
}

.insolvency-success {
    background: #38a169;
    color: white;
}

.insolvency-secondary {
    background: #718096;
    color: white;
}

/* Detaily */
.insolvency-details {
    flex: 1;
    min-width: 200px;
    font-size: 0.9rem;
    color: #4a5568;
}

.insolvency-details div {
    margin: 0.25rem 0;
}

/* Responzivní */
@media (max-width: 768px) {
    .insolvency-warning {
        flex-direction: column;
        align-items: flex-start;
    }

    .insolvency-badge {
        width: 100%;
        text-align: center;
    }
}
