﻿/* 
==================================================================
CLIENT CSS - Styles spécifiques à l'espace client
Excellia Créance - Espace Client
==================================================================
*/

/* Variables spécifiques client */
:root {
    --client-primary: #4361ee;
    --client-secondary: #3a56d4;
    --client-success: #28a745;
    --client-info: #17a2b8;
    --client-warning: #ffc107;
    --client-danger: #dc3545;
    --client-light: #f8f9fa;
    --client-dark: #343a40;
    --client-gradient: linear-gradient(135deg, #4361ee 0%, #3a56d4 100%);
    --client-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --client-border-radius: 12px;
}

/* ==================================================================
   LAYOUT CLIENT
================================================================== */

.client-container {
    min-height: calc(100vh - 120px);
    background-color: #f8fafc;
    padding: 20px 0;
}

.client-page-header {
    background: var(--client-gradient);
    color: white;
    padding: 30px 0;
    margin-bottom: 30px;
    border-radius: 0 0 var(--client-border-radius) var(--client-border-radius);
    box-shadow: var(--client-shadow);
}

    .client-page-header h1 {
        font-weight: 700;
        margin-bottom: 10px;
        font-size: 2rem;
    }

    .client-page-header .client-badge {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.9rem;
        display: inline-block;
        margin-top: 10px;
    }

.client-sidebar {
    background: white;
    border-radius: var(--client-border-radius);
    box-shadow: var(--client-shadow);
    padding: 25px;
    margin-bottom: 30px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.client-main-content {
    background: white;
    border-radius: var(--client-border-radius);
    box-shadow: var(--client-shadow);
    padding: 30px;
    margin-bottom: 30px;
}

/* ==================================================================
   COMPOSANTS CLIENT
================================================================== */

/* Cartes client */
.client-card {
    border: none;
    border-radius: var(--client-border-radius);
    box-shadow: var(--client-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 25px;
}

    .client-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

.client-card-header {
    background: var(--client-gradient);
    color: white;
    padding: 20px;
    border-bottom: none;
}

    .client-card-header h3 {
        margin: 0;
        font-weight: 600;
        font-size: 1.3rem;
    }

.client-card-body {
    padding: 25px;
}

/* Badges client */
.client-badge-primary {
    background-color: var(--client-primary);
    color: white;
}

.client-badge-success {
    background-color: var(--client-success);
    color: white;
}

.client-badge-warning {
    background-color: var(--client-warning);
    color: white;
}

.client-badge-info {
    background-color: var(--client-info);
    color: white;
}

/* Boutons client */
.btn-client {
    background: var(--client-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-client:hover {
        background: var(--client-secondary);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
    }

.btn-client-outline {
    background: transparent;
    color: var(--client-primary);
    border: 2px solid var(--client-primary);
    border-radius: 8px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-client-outline:hover {
        background: var(--client-primary);
        color: white;
        transform: translateY(-2px);
    }

/* Tableaux client */
.client-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--client-border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

    .client-table thead {
        background: var(--client-gradient);
        color: white;
    }

    .client-table th {
        padding: 15px;
        font-weight: 600;
        border: none;
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

    .client-table tbody tr {
        transition: all 0.2s ease;
    }

        .client-table tbody tr:hover {
            background-color: rgba(67, 97, 238, 0.05);
        }

    .client-table td {
        padding: 15px;
        border-top: 1px solid #eee;
        vertical-align: middle;
    }

    .client-table .status-badge {
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
    }

/* Statistiques client */
.client-stats-card {
    text-align: center;
    padding: 25px;
    border-radius: var(--client-border-radius);
    background: white;
    box-shadow: var(--client-shadow);
    border-top: 4px solid var(--client-primary);
}

    .client-stats-card .stat-value {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--client-primary);
        margin: 10px 0;
    }

    .client-stats-card .stat-label {
        color: #6c757d;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .client-stats-card .stat-icon {
        font-size: 2.5rem;
        color: var(--client-primary);
        margin-bottom: 15px;
    }

/* Avatar client */
.client-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--client-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

/* Progress bar client */
.client-progress {
    height: 10px;
    border-radius: 5px;
    background-color: #e9ecef;
    overflow: hidden;
}

.client-progress-bar {
    background: var(--client-gradient);
    height: 100%;
    border-radius: 5px;
    transition: width 0.6s ease;
}

/* Alertes client */
.client-alert {
    border-radius: var(--client-border-radius);
    border: none;
    box-shadow: var(--client-shadow);
    padding: 20px;
    margin-bottom: 20px;
}

.client-alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid var(--client-success);
}

.client-alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid var(--client-warning);
}

.client-alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid var(--client-info);
}

.client-alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid var(--client-danger);
}

/* ==================================================================
   SECTIONS SPÉCIFIQUES
================================================================== */

/* Section dossiers client */
.client-dossier-card {
    border-left: 4px solid var(--client-primary);
    padding: 20px;
    margin-bottom: 20px;
    background: white;
    border-radius: var(--client-border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

    .client-dossier-card:hover {
        transform: translateX(5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.client-dossier-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.client-dossier-status-active {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--client-success);
}

.client-dossier-status-pending {
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--client-warning);
}

.client-dossier-status-closed {
    background-color: rgba(23, 162, 184, 0.1);
    color: var(--client-info);
}

/* Section profil client */
.client-profile-info {
    background: white;
    padding: 30px;
    border-radius: var(--client-border-radius);
    box-shadow: var(--client-shadow);
}

.client-info-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .client-info-item:last-child {
        border-bottom: none;
    }

.client-info-label {
    color: #6c757d;
    font-weight: 500;
}

.client-info-value {
    color: var(--client-dark);
    font-weight: 600;
}

/* Section paiements */
.client-payment-card {
    background: white;
    padding: 20px;
    border-radius: var(--client-border-radius);
    box-shadow: var(--client-shadow);
    margin-bottom: 20px;
    border-left: 4px solid var(--client-success);
}

    .client-payment-card.pending {
        border-left-color: var(--client-warning);
    }

.client-payment-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--client-success);
}

/* ==================================================================
   ANIMATIONS ET TRANSITIONS
================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.client-animate-fadeInUp {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.client-animate-slideInLeft {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(67, 97, 238, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
    }
}

.client-pulse {
    animation: pulse 2s infinite;
}

/* ==================================================================
   RESPONSIVE DESIGN
================================================================== */

@media (max-width: 768px) {
    .client-page-header {
        padding: 20px 0;
        text-align: center;
    }

        .client-page-header h1 {
            font-size: 1.5rem;
        }

    .client-sidebar {
        position: static;
        margin-bottom: 20px;
    }

    .client-main-content {
        padding: 20px;
    }

    .client-stats-card .stat-value {
        font-size: 2rem;
    }

    .client-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 576px) {
    .client-container {
        padding: 10px;
    }

    .client-card-body {
        padding: 15px;
    }

    .client-stats-card {
        padding: 15px;
    }

    .btn-client, .btn-client-outline {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* ==================================================================
   UTILITAIRES
================================================================== */

.client-text-primary {
    color: var(--client-primary) !important;
}

.client-bg-primary {
    background-color: var(--client-primary) !important;
}

.client-border-primary {
    border-color: var(--client-primary) !important;
}

.client-shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.client-shadow-md {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
}

.client-shadow-lg {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

.client-rounded-lg {
    border-radius: var(--client-border-radius) !important;
}

.client-mb-3 {
    margin-bottom: 1rem !important;
}

.client-mb-4 {
    margin-bottom: 1.5rem !important;
}

.client-mb-5 {
    margin-bottom: 2rem !important;
}

.client-mt-3 {
    margin-top: 1rem !important;
}

.client-mt-4 {
    margin-top: 1.5rem !important;
}

.client-mt-5 {
    margin-top: 2rem !important;
}

/* ==================================================================
   ICÔNES ET ÉLÉMENTS VISUELS
================================================================== */

.client-icon-large {
    font-size: 3rem;
    color: var(--client-primary);
    margin-bottom: 20px;
}

.client-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--client-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
}

.client-timeline {
    position: relative;
    padding-left: 30px;
}

    .client-timeline::before {
        content: '';
        position: absolute;
        left: 10px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: var(--client-primary);
        opacity: 0.3;
    }

.client-timeline-item {
    position: relative;
    margin-bottom: 25px;
}

    .client-timeline-item::before {
        content: '';
        position: absolute;
        left: -20px;
        top: 5px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--client-primary);
        border: 3px solid white;
        box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
    }

/* ==================================================================
   FORMULAIRES CLIENT
================================================================== */

.client-form-group {
    margin-bottom: 1.5rem;
}

.client-form-label {
    font-weight: 600;
    color: var(--client-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.client-form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

    .client-form-control:focus {
        border-color: var(--client-primary);
        box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
        outline: none;
    }

    .client-form-control:disabled {
        background-color: #f8f9fa;
        cursor: not-allowed;
    }

/* ==================================================================
   MODAUX ET POPUPS
================================================================== */

.client-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    animation: fadeIn 0.3s ease;
}

.client-modal {
    background: white;
    border-radius: var(--client-border-radius);
    box-shadow: var(--client-shadow);
    width: 90%;
    max-width: 500px;
    animation: slideInUp 0.3s ease;
}

.client-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.client-modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.client-modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Styles spécifiques pour le ClientDashboard */

/* Animation pour les cartes de statistiques */
@keyframes countUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.stat-value {
    animation: countUp 0.6s ease-out;
}

/* Styles pour les badges de statut */
.status-badge.bg-success {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%) !important;
    color: white;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
    color: #212529;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.bg-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
    color: white;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    color: white;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.bg-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%) !important;
    color: white;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Styles pour les lignes du tableau */
.client-table tbody tr {
    transition: all 0.2s ease;
}

    .client-table tbody tr:hover {
        transform: translateY(-2px);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }

/* Animation de chargement */
@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.loading-pulse {
    animation: pulse 1.5s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .client-page-header h1 {
        font-size: 1.5rem;
    }

    .client-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .client-icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 10px;
    }

    .client-table {
        font-size: 0.9rem;
    }

        .client-table th,
        .client-table td {
            padding: 10px 8px;
        }
}

@media (max-width: 576px) {
    .client-page-header {
        padding: 20px 0;
    }

        .client-page-header h1 {
            font-size: 1.3rem;
        }

    .client-card-body {
        padding: 15px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .btn-client,
    .btn-client-outline {
        width: 100%;
        margin-bottom: 10px;
    }

    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 10px;
    }
}
/* Styles pour l'histogramme */
.histogram-container {
    padding: 15px;
    background: #f8f9fa;
    border-radius: var(--client-border-radius);
    border: 1px solid #e9ecef;
}

.histogram-item {
    transition: all 0.3s ease;
}

    .histogram-item:hover {
        transform: translateX(5px);
    }

.histogram-label {
    min-width: 150px;
    font-size: 0.9rem;
}

.histogram-bar-container {
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.histogram-bar {
    height: 100%;
    border-radius: 10px;
    transition: width 0.6s ease;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.histogram-bar-success {
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
}

.histogram-bar-danger {
    background: linear-gradient(90deg, #dc3545 0%, #fd7e14 100%);
}

.histogram-bar-warning {
    background: linear-gradient(90deg, #ffc107 0%, #ffca2c 100%);
}

.histogram-bar-info {
    background: linear-gradient(90deg, #17a2b8 0%, #0dcaf0 100%);
}

.histogram-value {
    min-width: 120px;
    text-align: right;
    font-size: 0.9rem;
}

/* Styles pour les tableaux */
.client-table tfoot {
    background-color: #f8f9fa;
    font-weight: 600;
}

    .client-table tfoot td {
        border-top: 2px solid #dee2e6;
    }

/* Animation pour la barre de progression */
.progress-bar {
    transition: width 1s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    .histogram-label {
        width: 100px;
    }

    .histogram-value {
        width: 100px;
    }

    .client-table {
        font-size: 0.85rem;
    }
}
/* Dans votre fichier CSS */
.fade-in {
    animation: fadeIn 0.5s ease-in forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.client-stats-card {
    transition: transform 0.3s ease;
}

    .client-stats-card:hover {
        transform: translateY(-5px);
    }

/* Optimisations de performance */
.client-table {
    border-collapse: separate;
    border-spacing: 0;
}

    .client-table td, .client-table th {
        padding: 0.75rem;
        border-bottom: 1px solid #dee2e6;
    }

/* Supprimer les animations complexes */
.client-animate-fadeInUp,
.client-animate-slideInLeft {
    /* Remplacé par fade-in simple */
}
// Fonctions utilitaires pour l'espace client
window.initTooltips = () = > {
    var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
    /* Styles spécifiques pour MesDossiers */
    .mes-dossiers-page

{
    padding: 20px 0;
}

/* Pagination améliorée */
.pagination {
    margin-bottom: 0;
}

.page-link {
    border: 1px solid #dee2e6;
    color: #4361ee;
    font-weight: 500;
}

.page-item.active .page-link {
    background-color: #4361ee;
    border-color: #4361ee;
}

.page-item.disabled .page-link {
    color: #6c757d;
    background-color: #f8f9fa;
}

/* Badge pour le reste à payer */
.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
}

/* Style pour les lignes du tableau */
.table-hover tbody tr:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

.table-success {
    background-color: rgba(40, 167, 69, 0.1) !important;
}

.table-info {
    background-color: rgba(23, 162, 184, 0.1) !important;
}

.table-secondary {
    background-color: rgba(108, 117, 125, 0.1) !important;
}

/* Style pour les boutons d'action */
.btn-group-sm > .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .mes-dossiers-page {
        padding: 15px 0;
    }

    .client-stats-card .stat-value {
        font-size: 1.8rem;
    }

    .client-table {
        font-size: 0.85rem;
    }

        .client-table th,
        .client-table td {
            padding: 0.5rem;
        }
}

@media (max-width: 576px) {
    .mes-dossiers-page {
        padding: 10px 0;
    }

    .client-page-header h1 {
        font-size: 1.5rem;
    }

    .client-stats-card {
        padding: 15px;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}
/* Styles pour le bouton d'export */
.btn-export-excel {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-export-excel:hover {
        background: linear-gradient(135deg, #218838 0%, #1ba088 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    }

    .btn-export-excel:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* Animation de chargement pour l'export */
.export-loading {
    position: relative;
}

    .export-loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-top-color: white;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/* Styles pour les remarques texte */
.remarks-text-container {
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

    .remarks-text-container:hover {
        background-color: #edf2f7;
        border-color: #cbd5e0;
        transform: translateY(-2px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

.remarks-text {
    color: #2d3748;
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
    white-space: pre-line;
    max-height: 80px;
    overflow: hidden;
}

/* Style pour le texte coupé avec ellipsis */
.text-truncate-multiline {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Style pour la modal de remarque complète */
.remarks-modal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.remarks-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
    padding: 20px 30px;
}

.remarks-modal .modal-body {
    padding: 30px;
    font-size: 1rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 60vh;
    overflow-y: auto;
}

/* Badge pour remarques importantes */
.remarks-important {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.7rem;
    padding: 2px 6px;
    background: linear-gradient(135deg, #f56565, #e53e3e);
    color: white;
    border-radius: 10px;
}