/* Styles pour le visualiseur de documents Excel et Word */
.excel-viewer, .word-viewer {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.excel-table {
    font-size: 12px;
    border-collapse: collapse;
    margin: 0;
}

.excel-table th {
    background-color: #f8f9fa !important;
    font-weight: bold;
    text-align: center;
    padding: 8px 6px;
    border: 1px solid #dee2e6;
}

.excel-table td {
    padding: 6px;
    border: 1px solid #dee2e6;
    vertical-align: top;
}

.excel-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.excel-table tr:hover {
    background-color: #e9ecef;
}

.word-content {
    line-height: 1.6;
    text-align: left;
}

.word-content p {
    margin-bottom: 12px;
}

.word-content table {
    margin: 15px 0;
}

.word-content table td {
    padding: 8px;
    border: 1px solid #dee2e6;
}

/* Modal responsive */
.modal-xl {
    max-width: 95%;
}

@media (max-width: 768px) {
    .modal-xl {
        max-width: 100%;
        margin: 0;
    }
    
    .excel-table {
        font-size: 10px;
    }
    
    .excel-table th,
    .excel-table td {
        padding: 4px;
    }
}

/* Styles pour les alertes d'information */
.alert-info {
    border-left: 4px solid #17a2b8;
}

/* Boutons de téléchargement */
.btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}
