body {
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: bold;
}

.card {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.btn {
    border-radius: 5px;
}

.table th {
    border-top: none;
}

.alert {
    border-radius: 10px;
}

/* Styles pour l'impression */
@media print {
    .no-print {
        display: none !important;
    }
    .navbar {
        display: none !important;
    }
    .container {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .card {
        box-shadow: none !important;
        border: none !important;
    }
    .card-header {
        background: none !important;
        border-bottom: 1px solid #000 !important;
    }
}

/* Animation pour les alertes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert {
    animation: fadeIn 0.5s ease;
}

/* Style pour les badges */
.badge {
    padding: 5px 10px;
    font-size: 12px;
}

/* Style pour les tableaux */
.table-hover tbody tr:hover {
    background-color: rgba(0,0,0,0.02);
}

/* Style pour les formulaires */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Style pour les totaux */
#grand_total, #change_amount {
    font-weight: bold;
    font-size: 1.1em;
}

/* Style pour les boutons d'action */
.btn-group-sm > .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    .card-body {
        padding: 15px;
    }
    .table-responsive {
        font-size: 14px;
    }
}