/* Gestion des paiements - Styles spécifiques */
.payment-card {
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.payment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.payment-status-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
}

.payment-amount {
    font-weight: bold;
    font-size: 1.1rem;
}

.payment-date {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Animation pour les modaux */
.modal.fade .modal-dialog {
    transform: translateY(-50px);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: translateY(0);
}

/* Styles pour les onglets */
.nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
}

.nav-tabs .nav-link.active {
    color: #007bff;
    border-bottom: 3px solid #007bff;
    background-color: transparent;
}

/* Badges colorés */
.badge-schooling {
    background-color: #e3f2fd;
    color: #1976d2;
}

.badge-canteen {
    background-color: #fff3e0;
    color: #f57c00;
}

.badge-other {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

/* Responsive table */
@media (max-width: 768px) {
    .table-responsive {
        border: 0;
    }

    .table thead {
        display: none;
    }

    .table tr {
        margin-bottom: 10px;
        display: block;
        border: 1px solid #ddd;
        border-radius: 5px;
    }

    .table td {
        display: block;
        text-align: right;
        position: relative;
        padding-left: 50%;
    }

    .table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: calc(50% - 30px);
        padding-right: 10px;
        text-align: left;
        font-weight: bold;
        color: #333;
    }
}