﻿/* ============================================
   DESIGN SYSTEM - Composants Réutilisables
   ============================================ */

/* Variables CSS */
:root {
    /* Couleurs principales */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --info-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    /* Couleurs solides */
    --primary: #667eea;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    /* Neutres */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    /* Espacements */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    /* Rayons */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    /* Ombres */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ============================================
   LAYOUT - Headers & Pages
   ============================================ */

.page-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
    padding: var(--space-6);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

    .page-header-modern .header-content {
        display: flex;
        align-items: center;
        gap: var(--space-4);
    }

    .page-header-modern .header-icon {
        width: 60px;
        height: 60px;
        border-radius: var(--radius-lg);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.75rem;
        color: white;
    }

        .page-header-modern .header-icon.bg-primary {
            background: var(--primary-gradient);
        }

        .page-header-modern .header-icon.bg-success {
            background: var(--success-gradient);
        }

        .page-header-modern .header-icon.bg-warning {
            background: var(--warning-gradient);
        }

        .page-header-modern .header-icon.bg-danger {
            background: var(--danger-gradient);
        }

    .page-header-modern .page-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0;
        color: var(--gray-800);
    }

    .page-header-modern .page-subtitle {
        margin: 0;
        color: var(--gray-500);
        font-size: 0.9rem;
    }

/* ============================================
   CARDS - Statistiques & Conteneurs
   ============================================ */

.card-modern {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.card-body-modern {
    padding: var(--space-8);
}

/* Stat Cards */
.stat-card-modern {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-6);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .stat-card-modern:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    .stat-card-modern .stat-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: white;
    }

    .stat-card-modern.primary .stat-icon {
        background: var(--primary-gradient);
    }

    .stat-card-modern.success .stat-icon {
        background: var(--success-gradient);
    }

    .stat-card-modern.warning .stat-icon {
        background: var(--warning-gradient);
    }

    .stat-card-modern.danger .stat-icon {
        background: var(--danger-gradient);
    }

    .stat-card-modern .stat-value {
        font-size: 2rem;
        font-weight: 700;
        margin: 0;
        color: var(--gray-800);
    }

    .stat-card-modern .stat-label {
        margin: 0;
        color: var(--gray-500);
        font-size: 0.875rem;
    }

/* Preview Cards */
.preview-card-modern {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: var(--space-6);
}

    .preview-card-modern .preview-header {
        background: var(--primary-gradient);
        color: white;
        padding: var(--space-5);
        display: flex;
        align-items: center;
        gap: var(--space-3);
        font-weight: 600;
    }

    .preview-card-modern .preview-body {
        padding: var(--space-6);
    }

/* Info Cards */
.info-card-modern {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

    .info-card-modern .info-header {
        background: var(--warning);
        color: white;
        padding: var(--space-5);
        display: flex;
        align-items: center;
        gap: var(--space-3);
        font-weight: 600;
    }

    .info-card-modern .info-list {
        list-style: none;
        padding: var(--space-6);
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
    }

        .info-card-modern .info-list li {
            display: flex;
            align-items: center;
            gap: var(--space-3);
            font-size: 0.875rem;
            color: var(--gray-600);
        }

            .info-card-modern .info-list li i {
                color: var(--success);
                font-size: 1.1rem;
            }

/* ============================================
   FORMULAIRES - Inputs & Controls
   ============================================ */

.form-section {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    border: 1px solid var(--gray-200);
    margin-bottom: var(--space-6);
}

    .form-section .section-title {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--gray-500);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: var(--space-5);
        display: flex;
        align-items: center;
        gap: var(--space-2);
    }

        .form-section .section-title i {
            color: var(--primary);
        }

.form-label-modern {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
}

    .form-label-modern.required::after {
        content: " *";
        color: var(--danger);
    }

.form-control-modern,
.form-select-modern {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

    .form-control-modern:focus,
    .form-select-modern:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

.form-text-modern {
    display: block;
    margin-top: var(--space-2);
    font-size: 0.875rem;
    color: var(--gray-500);
}

.validation-message-modern {
    display: block;
    margin-top: var(--space-2);
    font-size: 0.875rem;
    color: var(--danger);
}

.validation-summary-modern {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-6);
    color: var(--danger);
}

    .validation-summary-modern i {
        font-size: 1.25rem;
        flex-shrink: 0;
    }

/* Input avec icône */
.input-icon-wrapper {
    position: relative;
}

    .input-icon-wrapper i {
        position: absolute;
        left: var(--space-4);
        top: 50%;
        transform: translateY(-50%);
        color: var(--gray-500);
    }

    .input-icon-wrapper input,
    .input-icon-wrapper select {
        padding-left: 2.75rem;
    }

/* ============================================
   BOUTONS
   ============================================ */

.btn-modern {
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.btn-primary-modern {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

    .btn-primary-modern:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
        color: white;
    }

.btn-success-modern {
    background: var(--success-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

    .btn-success-modern:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
        color: white;
    }

.btn-danger-modern {
    background: var(--danger-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

    .btn-danger-modern:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
        color: white;
    }

.btn-outline-modern {
    padding: var(--space-3) var(--space-6);
    border: 2px solid var(--gray-200);
    background: white;
    color: var(--gray-500);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-outline-modern:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

.btn-icon-modern {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .btn-icon-modern.btn-view {
        background: #eff6ff;
        color: #3b82f6;
    }

        .btn-icon-modern.btn-view:hover {
            background: #3b82f6;
            color: white;
        }

    .btn-icon-modern.btn-edit {
        background: #f0fdf4;
        color: #22c55e;
    }

        .btn-icon-modern.btn-edit:hover {
            background: #22c55e;
            color: white;
        }

    .btn-icon-modern.btn-cancel {
        background: #fef2f2;
        color: #ef4444;
    }

        .btn-icon-modern.btn-cancel:hover {
            background: #ef4444;
            color: white;
        }

.btn-modern:disabled,
.btn-primary-modern:disabled,
.btn-success-modern:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   TABLEAUX
   ============================================ */

.table-responsive-modern {
    overflow-x: auto;
}

.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

    .table-modern th {
        padding: var(--space-4) var(--space-5);
        text-align: left;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--gray-500);
        background: var(--gray-50);
        border-bottom: 2px solid var(--gray-200);
    }

    .table-modern td {
        padding: var(--space-5);
        border-bottom: 1px solid var(--gray-200);
        vertical-align: middle;
    }

    .table-modern tbody tr {
        transition: background-color 0.2s ease;
    }

        .table-modern tbody tr:hover {
            background-color: var(--gray-50);
        }

/* ============================================
   BADGES & STATUS
   ============================================ */

.id-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

    .status-badge.status-active {
        background: #d1fae5;
        color: #065f46;
    }

    .status-badge.status-cancelled {
        background: #fee2e2;
        color: #991b1b;
    }

    .status-badge.status-expired {
        background: #fef3c7;
        color: #92400e;
    }

    .status-badge.status-pending {
        background: #dbeafe;
        color: #1e40af;
    }

/* ============================================
   AVATARS
   ============================================ */

.avatar-modern {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

    .avatar-modern.avatar-sm {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 0.75rem;
    }

    .avatar-modern.avatar-lg {
        width: 56px;
        height: 56px;
        border-radius: var(--radius-lg);
        font-size: 1.25rem;
    }

/* ============================================
   DROPDOWNS
   ============================================ */

.dropdown-menu-modern {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-top: var(--space-2);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.dropdown-item-modern {
    padding: var(--space-3) var(--space-4);
    cursor: pointer;
    border-bottom: 1px solid var(--gray-100);
    transition: background-color 0.2s;
}

    .dropdown-item-modern:hover,
    .dropdown-item-modern.active {
        background-color: var(--gray-50);
    }

    .dropdown-item-modern:last-child {
        border-bottom: none;
    }

/* ============================================
   TOGGLES
   ============================================ */

.toggle-modern {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
}

.toggle-input {
    display: none;
}

.toggle-slider {
    width: 48px;
    height: 26px;
    background: var(--gray-300);
    border-radius: 13px;
    position: relative;
    transition: all 0.3s;
}

    .toggle-slider::after {
        content: '';
        position: absolute;
        width: 22px;
        height: 22px;
        background: white;
        border-radius: 50%;
        top: 2px;
        left: 2px;
        transition: all 0.3s;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

.toggle-input:checked + .toggle-slider {
    background: var(--primary);
}

    .toggle-input:checked + .toggle-slider::after {
        left: 24px;
    }

.toggle-label {
    font-size: 0.875rem;
    color: var(--gray-700);
}

/* ============================================
   MODALS
   ============================================ */

.modal-backdrop-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1040;
}

.modal-modern {
    z-index: 1050;
}

.modal-dialog-modern {
    margin: 2rem auto;
}

.modal-content-modern {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    background: white;
}

.modal-header-modern {
    padding: var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

    .modal-header-modern.bg-primary {
        background: var(--primary-gradient);
    }

    .modal-header-modern.bg-success {
        background: var(--success-gradient);
    }

    .modal-header-modern.bg-danger {
        background: var(--danger-gradient);
    }

    .modal-header-modern.bg-warning {
        background: var(--warning-gradient);
    }

.modal-body-modern {
    padding: var(--space-6);
}

.modal-footer-modern {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-3);
    padding: var(--space-5);
    border-top: 1px solid var(--gray-200);
}

.btn-close-modern {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-close-modern:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

/* ============================================
   UTILITAIRES
   ============================================ */

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-12) var(--space-8);
    color: var(--gray-500);
}

.spinner-modern {
    width: 48px;
    height: 48px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--space-4);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-12) var(--space-8);
    text-align: center;
}

    .empty-state i {
        font-size: 4rem;
        color: var(--gray-300);
        margin-bottom: var(--space-4);
    }

    .empty-state h5 {
        color: var(--gray-600);
        margin-bottom: var(--space-2);
    }

    .empty-state p {
        color: var(--gray-400);
        margin-bottom: var(--space-4);
    }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .page-header-modern {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .form-actions-modern {
        flex-direction: column;
    }

        .form-actions-modern button {
            width: 100%;
        }
}


/* ============================================
   Ajout pour Dashboard
   ============================================ */

/* Stat card variant info */
.stat-card-modern.info .stat-icon {
    background: var(--info-gradient);
}

/* Warning button */
.btn-warning-modern {
    padding: var(--space-3) var(--space-6);
    background: var(--warning-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

    .btn-warning-modern:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
        color: white;
    }

/* Utility classes */
.min-width-0 {
    min-width: 0;
}

/* Header actions spacing */
.header-actions {
    display: flex;
    gap: var(--space-3);
    align-items: center;
}

/* Stat content structure */
.stat-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Form actions (si pas déjà présent) */
.form-actions-modern {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--gray-200);
}

/* Cursor pointer utility */
.cursor-pointer {
    cursor: pointer;
}

/* Transition utility */
.transition-all {
    transition: all 0.3s ease;
}

.modal-lg {
    max-width: 800px !important;
}

/* Optionnel : si tu utilises .modal-dialog-modern partout */
.modal-dialog-modern.modal-lg {
    max-width: 800px !important;
}

/* Si tu veux aussi contrôler xl (pour d'autres modales) */
.modal-xl {
    max-width: 1140px !important;
}
/* ============================================
   CLASSES MANQUANTES - ListeDossiers
   ============================================ */

/* Bouton small */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Pagination modernisée */
.pagination .page-link {
    color: var(--gray-600);
    background: white;
    border: 2px solid transparent;
    margin: 0 2px;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

    .pagination .page-link:hover {
        background: var(--gray-100);
        color: var(--primary);
    }

.pagination .page-item.active .page-link {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Table row hover spécifique */
.table-modern tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.05);
}

/* Background light pour lignes archivées */
.bg-light {
    background-color: var(--gray-100) !important;
}

/* Cursor pointer */
.cursor-pointer {
    cursor: pointer;
}

/* Rounded pill */
.rounded-pill {
    border-radius: 50rem;
}

/* VR divider */
.vr {
    display: inline-block;
    align-self: stretch;
    width: 1px;
    min-height: 1em;
    background-color: var(--gray-300);
    opacity: 1;
}

/* Bouton avec glow (style agenda) */
.btn-glow {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

    .btn-glow:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
        color: white;
    }

.bg-pink {
    background-color: #e83e8c !important;
    color: white;
}

.victime-info .bg-light {
    transition: all 0.2s ease;
}

    .victime-info .bg-light:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

.rounded-circle.p-3 {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-gradient-tag {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white !important;
    font-weight: 500;
    padding: 0.4em 0.8em;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.bg-gradient-tag .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    font-size: 0.6rem;
}

.bg-gradient-tag .btn-close:hover {
    opacity: 1;
}

/*Pour l'upload modale*/
.modal-upload-custom {
    max-width: 700px !important;
    margin: 1.75rem auto;
}

    .modal-upload-custom .modal-content {
        border: none;
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-xl);
        max-height: 85vh;
        display: flex;
        flex-direction: column;
    }

    .modal-upload-custom .modal-body {
        overflow-y: auto;
        padding: 1.5rem;
        flex: 1;
    }

/* Ajustements pour les écrans moyens */
@media (min-height: 800px) {
    .modal-upload-custom .modal-content {
        max-height: 75vh;
    }
}

@media (max-height: 700px) {
    .modal-upload-custom .modal-content {
        max-height: 90vh;
    }
}

/* Rendre les cartes de quota plus compactes si besoin */
.modal-upload-custom .quota-card .row {
    margin: 0 -0.5rem;
}

.modal-upload-custom .quota-card .col-md-6 {
    padding: 0 0.5rem;
}

.modal-upload-custom .stat-item {
    padding: 0.75rem !important;
}

/* Zone d'upload plus compacte */
.modal-upload-custom .upload-zone {
    padding: 2rem !important;
    margin-bottom: 1rem !important;
}

    .modal-upload-custom .upload-zone i {
        font-size: 2.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .modal-upload-custom .upload-zone h5 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem !important;
    }

    .modal-upload-custom .upload-zone p {
        margin-bottom: 1rem !important;
        font-size: 0.9rem;
    }

/* Fichier sélectionné plus compact */
.modal-upload-custom .selected-file .card-body {
    padding: 0 !important;
}

.modal-upload-custom .selected-file .bg-primary {
    padding: 0.75rem !important;
}

    .modal-upload-custom .selected-file .bg-primary i {
        font-size: 1.5rem !important;
    }

/* Boutons */
.modal-upload-custom .btn {
    padding: 0.5rem 1.5rem;
}

.modal-upload-custom .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}