/**
 * Styles CSS pour le module Factecheance
 */

/* Styles pour les badges de statut */
.factecheance-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.9em;
    font-weight: bold;
}

/* Styles pour les tableaux d'échéances */
.factecheance-table {
    width: 100%;
    border-collapse: collapse;
}

.factecheance-table th {
    background-color: #f0f0f0;
    padding: 8px;
    text-align: left;
    border-bottom: 2px solid #ddd;
}

.factecheance-table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.factecheance-table tr:hover {
    background-color: #f9f9f9;
}

/* Styles pour les montants */
.factecheance-amount {
    font-weight: bold;
    text-align: right;
}

.factecheance-amount-paid {
    color: #28a745;
}

.factecheance-amount-unpaid {
    color: #dc3545;
}

/* Styles pour les dates d'échéance */
.factecheance-date {
    text-align: center;
}

.factecheance-date-overdue {
    color: #dc3545;
    font-weight: bold;
}

.factecheance-date-upcoming {
    color: #ffc107;
}

/* Styles pour les alertes */
.factecheance-alert {
    padding: 12px;
    margin: 10px 0;
    border-radius: 4px;
}

.factecheance-alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.factecheance-alert-danger {
    background-color: #f8d7da;
    border: 1px solid #dc3545;
    color: #721c24;
}

.factecheance-alert-success {
    background-color: #d4edda;
    border: 1px solid #28a745;
    color: #155724;
}

/* Page Saisir règlement : liste d'échéances à cocher */
.factecheance-list {
    font-size: 0.9em;
}
.factecheance-item {
    display: block;
    padding: 2px 0;
    cursor: pointer;
}
.factecheance-item input {
    margin-right: 6px;
}

