/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Palette de couleurs professionnelle */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    
    /* Couleurs neutres */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Couleurs de statut */
    --success-color: #059669;
    --success-light: #d1fae5;
    --success-dark: #047857;
    --warning-color: #d97706;
    --warning-light: #fef3c7;
    --danger-color: #dc2626;
    --danger-light: #fee2e2;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Rayons de bordure */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Layout */
    --header-height: 70px;
    --sidebar-width: 340px;
    --sidebar-right-width: 380px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gray-50);
    min-height: 100vh;
    color: var(--gray-800);
    line-height: 1.6;
    font-size: 14px;
}

/* Header fixe */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: white;
    border-bottom: 1px solid var(--gray-200);
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1920px;
    margin: 0 auto;
    height: 100%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.025em;
}

.app-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

.app-title a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-300);
    background: white;
    color: var(--gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: var(--gray-50);
    color: var(--gray-900);
    border-color: var(--gray-400);
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary.btn-secondary {
    background: var(--gray-500);
}

.btn-primary.btn-secondary:hover {
    background: var(--gray-600);
}

/* Toast messages */
.toast-message {
    position: fixed;
    top: calc(var(--header-height) + 1rem);
    right: 1rem;
    background: white;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.toast-message.success {
    border-left: 4px solid var(--success-color);
    color: var(--success-color);
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Layout principal */
.app-layout {
    display: flex;
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: white;
    border-right: 1px solid var(--gray-200);
    overflow-y: auto;
    height: calc(100vh - var(--header-height));
    position: fixed;
    left: 0;
    top: var(--header-height);
}

.sidebar-section {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.sidebar-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-title i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.stat-card:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.stat-icon.blue {
    background: #dbeafe;
    color: var(--primary-color);
}

.stat-icon.gray {
    background: var(--gray-200);
    color: var(--gray-600);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

.stat-label {
    font-size: 0.6875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* Task Groups */
.task-group {
    margin-bottom: 0.75rem;
}

.task-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.task-group-header:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

.task-group-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.task-group-title {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.8125rem;
}

.status-icon {
    font-size: 0.875rem;
}

.status-icon.todo {
    color: var(--gray-400);
}

.status-icon.progress {
    color: var(--warning-color);
}

.status-icon.done {
    color: var(--success-color);
}

.task-count {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.task-group-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.task-group-content.open {
    max-height: 1000px;
    padding-top: 0.5rem;
}

.search-box-tasks {
    position: relative;
    margin-bottom: 1rem;
}

.search-box-tasks i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 0.875rem;
}

.search-box-tasks input {
    width: 100%;
    padding: 0.625rem 0.75rem 0.625rem 2.25rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.search-box-tasks input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.task-item {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.375rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.task-item:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.task-item.done {
    opacity: 0.7;
}

.task-item.done .task-text {
    text-decoration: line-through;
}

.task-item .statut-btn-simple {
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.task-item > div {
    flex: 1;
    min-width: 0;
}

.task-text {
    font-size: 0.8125rem;
    color: var(--gray-700);
    line-height: 1.3;
}

.task-meta {
    font-size: 0.6875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.task-empty {
    padding: 1rem;
    text-align: center;
    color: var(--gray-400);
    font-size: 0.875rem;
    font-style: italic;
}

.btn-view-comment {
    background: none;
    border: none;
    color: var(--success-color);
    padding: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-view-comment:hover {
    color: var(--success-dark);
    transform: scale(1.15);
}

.btn-view-comment:active {
    transform: scale(0.95);
}

/* Tooltip commentaire */
.comment-tooltip {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    z-index: 4000;
    max-width: 350px;
    animation: fadeIn 0.2s ease;
    border: 1px solid var(--gray-200);
}

.comment-tooltip-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--success-light);
    border-bottom: 1px solid var(--success-color);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.comment-tooltip-header i {
    color: var(--success-color);
    font-size: 1rem;
}

.comment-tooltip-header span {
    flex: 1;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.btn-close-tooltip {
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.btn-close-tooltip:hover {
    color: var(--gray-700);
}

.comment-tooltip-body {
    padding: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--gray-700);
    white-space: pre-wrap;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    margin-right: var(--sidebar-right-width);
    padding: 2rem;
    max-width: 1200px;
}

/* Sidebar droite */
.sidebar-right {
    width: var(--sidebar-right-width);
    background: white;
    border-left: 1px solid var(--gray-200);
    overflow-y: auto;
    height: calc(100vh - var(--header-height));
    position: fixed;
    right: 0;
    top: var(--header-height);
}

/* Search Box */
.search-box {
    position: relative;
    margin-bottom: 1rem;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 0.875rem;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: var(--gray-50);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

/* Contenus List */
.contenus-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contenus-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-400);
}

.contenus-empty i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.contenus-empty p {
    font-size: 0.875rem;
}

/* Contenu Card */
.contenu-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s ease;
}

.contenu-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.contenu-card.hidden {
    display: none;
}

.contenu-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: white;
    border-bottom: 1px solid var(--gray-200);
}

.contenu-card-header h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contenu-card-header .btn-view-rapport {
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.375rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    flex-shrink: 0;
    flex: 0 0 auto;
}

.contenu-card-meta {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.contenu-reunion {
    font-size: 0.75rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 500;
}

.contenu-reunion i {
    color: var(--primary-color);
}

.contenu-date {
    font-size: 0.7rem;
    color: var(--gray-500);
}

.contenu-card-body {
    padding: 0 1rem 1rem 1rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contenu-preview {
    background: white;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--gray-700);
    max-height: 200px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-bottom: 0.75rem;
    border: 1px solid var(--gray-200);
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

.contenu-preview img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.5rem 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
}

.contenu-more {
    color: var(--primary-color);
    font-weight: 500;
}

.btn-copy-contenu {
    width: 100%;
    padding: 0.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-copy-contenu:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-copy-contenu:active {
    transform: translateY(0);
}

/* Section Header */
.section-header {
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-header h2 i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Cards */
.card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.card.reunion-card-summary {
    padding: 0;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

/* Form Card */
.form-card {
    margin-bottom: 2rem;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.form-card h2 {
    color: var(--gray-900);
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-card h2 i {
    color: var(--primary-color);
}

.btn-close {
    background: var(--gray-100);
    color: var(--gray-500);
    border: none;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    color: var(--gray-500);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
}

/* Point items */
#points-container {
    margin-bottom: 1rem;
}

.point-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    align-items: center;
}

.point-item input {
    flex: 1;
}

.point-item select {
    width: 120px;
    font-size: 0.75rem;
}

.btn-remove {
    background: var(--danger-light);
    color: var(--danger-color);
    border: none;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove:hover {
    background: #fecaca;
}

.btn-add-point,
.btn-add-contenu {
    background: var(--gray-50);
    color: var(--gray-600);
    border: 1px dashed var(--gray-300);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add-point:hover,
.btn-add-contenu:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--gray-700);
}

/* Contenu items */
#contenus-container {
    margin-bottom: 1rem;
}

.contenu-item {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1rem;
}

.contenu-header {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    align-items: center;
}

.contenu-titre {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-remove-contenu {
    background: var(--danger-light);
    color: var(--danger-color);
    border: none;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-contenu:hover {
    background: #fecaca;
}

.contenu-item textarea {
    width: 100%;
    min-height: 100px;
    resize: vertical;
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    font-size: 0.8125rem;
}

.contenus-box {
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.contenus-box img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.75rem 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.contenu-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.contenu-stats {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
}

.contenu-item.has-image {
    border-left: 4px solid var(--accent-color);
}

/* Reunion Cards */
.reunion-card-summary {
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.reunion-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
}

.reunion-info h3 {
    color: var(--gray-900);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.reunion-date {
    color: var(--gray-500);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
}

.reunion-stats {
    display: flex;
    gap: 0.5rem;
}

.stat-badge {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.stat-badge.success {
    background: var(--success-light);
    color: var(--success-color);
}

.reunion-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-expand {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-expand:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-expand i {
    transition: transform 0.2s ease;
    font-size: 0.75rem;
}

.btn-expand.expanded i {
    transform: rotate(180deg);
}

.btn-delete-reunion {
    background: var(--danger-light);
    color: var(--danger-color);
    border: none;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-delete-reunion:hover {
    background: var(--danger-color);
    color: white;
    transform: translateY(-1px) scale(1.05);
}

/* Reunion Details */
.reunion-details {
    border-top: 1px solid var(--gray-200);
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    overflow: visible;
    clear: both;
}

.reunion-details::after {
    content: "";
    display: table;
    clear: both;
}

.points-list h4,
.reunion-notes h4,
.reunion-contenus h4 {
    color: var(--gray-700);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.points-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.btn-add-point-reunion {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.btn-add-point-reunion:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Add Point Form */
.add-point-form {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1rem;
}

.inline-point-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.inline-point-inputs input[type="text"],
.inline-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    width: 100%;
}

.inline-contenu-inputs textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-family: inherit;
    resize: vertical;
}

.content-editor {
    width: 100%;
    min-height: 120px;
    max-height: 400px;
    overflow-y: auto;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-family: inherit;
    line-height: 1.6;
    background: white;
    cursor: text;
}

.content-editor:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.content-editor:empty:before {
    content: attr(data-placeholder);
    color: var(--gray-400);
    pointer-events: none;
}

.content-editor img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.5rem 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.inline-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.inline-point-inputs select {
    padding: 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    min-width: 100px;
}

.btn-save-point {
    background: var(--success-color);
    color: white;
    border: none;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.btn-save-point:hover {
    background: #047857;
    transform: scale(1.05);
}

.btn-cancel-point {
    background: var(--gray-400);
    color: white;
    border: none;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.btn-cancel-point:hover {
    background: var(--gray-500);
}

/* Point Display */
.point-item-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
    position: relative;
}

.point-item-display:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-sm);
    transform: translateX(2px);
}

.point-item-display[data-status="fait"] {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #bbf7d0;
}

.point-item-display[data-status="en_cours"] {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fde68a;
}

.statut-btn {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    font-size: 1.125rem;
    padding: 0.375rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.statut-btn:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
    transform: scale(1.15);
    box-shadow: var(--shadow-sm);
}

.statut-btn-simple {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.statut-btn-simple:hover {
    transform: scale(1.2);
}

.statut-btn-simple:active {
    transform: scale(0.95);
}

.point-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.point-text {
    color: var(--gray-700);
    font-size: 0.875rem;
}

.point-commentaire {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--success-light);
    border-left: 3px solid var(--success-color);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.4;
}

.point-commentaire i {
    color: var(--success-color);
    font-size: 0.875rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.point-status-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-left: auto;
    padding: 0.25rem 0.5rem;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.btn-delete-point {
    background: transparent;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0.375rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.point-item-display:hover .btn-delete-point {
    opacity: 1;
}

.btn-delete-point:hover {
    background: var(--danger-light);
    color: var(--danger-color);
    transform: scale(1.1);
}

/* Status Icons */
.statut-fait {
    color: var(--success-color);
}

.statut-en-cours {
    color: var(--warning-color);
}

.statut-a-faire {
    color: var(--gray-400);
}

/* Status Menu */
.statut-selector {
    position: relative;
    display: inline-block;
}

.statut-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    min-width: 140px;
    overflow: hidden;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.statut-menu.show {
    transform: translateY(0);
    opacity: 1;
}

.statut-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.statut-option:hover {
    background: var(--gray-50);
}

.statut-option.active {
    background: var(--primary-color);
    color: white;
}

.statut-option.active .statut-fait,
.statut-option.active .statut-en-cours,
.statut-option.active .statut-a-faire {
    color: white;
}

/* Notes */
.reunion-notes {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--primary-color);
}

.reunion-notes p {
    color: var(--gray-700);
    line-height: 1.7;
    font-size: 0.875rem;
}

/* Contenus */
.reunion-contenus {
    margin-top: 1.5rem;
    overflow: visible;
    clear: both;
}

.reunion-contenus::after {
    content: "";
    display: table;
    clear: both;
}

.reunion-contenus .empty-text {
    color: var(--gray-400);
    font-size: 0.875rem;
    font-style: italic;
    margin: 0.5rem 0 0 0;
}

/* Liste des rapports dans les détails de réunion */
.rapports-list-reunion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rapport-item-reunion {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    transition: all 0.2s ease;
}


.rapport-item-reunion .btn-view-rapport {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    text-align: left;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.rapport-item-reunion .btn-view-rapport i {
    font-size: 1.25rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.rapport-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.rapport-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rapport-item-date {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.btn-delete-rapport-inline {
    background: transparent;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-delete-rapport-inline:hover {
    background: var(--danger-light);
    color: var(--danger-color);
    transform: scale(1.1);
}

/* Ancien style pour compatibilité */
.contenus-box {
    background: var(--gray-50);
    padding: 1.25rem;
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--gray-700);
    max-height: 300px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--gray-500);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gray-400);
}

.empty-state p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.no-points {
    display: block;
    width: 100%;
    text-align: center;
    padding: 2rem;
    color: var(--gray-500);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--gray-300);
    margin-top: 1rem;
    box-sizing: border-box;
}

.no-points i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--gray-400);
}

/* Modal Commentaire */
.modal-commentaire {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.modal-commentaire-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-commentaire-content {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    animation: slideUp 0.3s ease;
}

.modal-commentaire-content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--gray-900);
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-commentaire-content p {
    margin: 0 0 1rem 0;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.modal-commentaire-content textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.modal-commentaire-content textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.modal-commentaire-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.btn-secondary {
    padding: 0.625rem 1.25rem;
    background: white;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

/* Modal Rapport */
.modal-rapport {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-rapport-content {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-rapport-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem;
    border-bottom: 1px solid var(--gray-200);
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
}

.rapport-header-info {
    flex: 1;
}

.modal-rapport-header h2 {
    color: var(--gray-900);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.rapport-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.rapport-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rapport-meta i {
    color: var(--primary-color);
}

.btn-close-rapport {
    background: var(--gray-100);
    color: var(--gray-600);
    border: none;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.btn-close-rapport:hover {
    background: var(--danger-light);
    color: var(--danger-color);
    transform: rotate(90deg);
}

.modal-rapport-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    line-height: 1.8;
    font-size: 0.9375rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.modal-rapport-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.modal-rapport-body p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.modal-rapport-body h1,
.modal-rapport-body h2,
.modal-rapport-body h3 {
    color: var(--gray-900);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.modal-rapport-body h1 {
    font-size: 1.5rem;
}

.modal-rapport-body h2 {
    font-size: 1.25rem;
}

.modal-rapport-body h3 {
    font-size: 1.125rem;
}

.modal-rapport-body ul,
.modal-rapport-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-rapport-body li {
    margin-bottom: 0.5rem;
}

.modal-rapport-body strong {
    font-weight: 600;
    color: var(--gray-900);
}

.modal-rapport-body code {
    background: var(--gray-100);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875em;
    color: var(--primary-color);
}

.modal-rapport-body pre {
    background: var(--gray-900);
    color: var(--gray-100);
    padding: 1rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin-bottom: 1rem;
}

.modal-rapport-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--gray-600);
    font-style: italic;
}

/* Barre de recherche dans le rapport */
.modal-rapport-search {
    padding: 1rem 2rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.search-box-rapport {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-box-rapport i {
    position: absolute;
    left: 0.875rem;
    color: var(--gray-400);
    font-size: 0.875rem;
}

.search-box-rapport input {
    flex: 1;
    padding: 0.625rem 0.875rem 0.625rem 2.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: white;
}

.search-box-rapport input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-results-count {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
    white-space: nowrap;
    min-width: 80px;
    text-align: right;
}

/* Surbrillance du texte recherché */
.highlight-search {
    background-color: #fef08a;
    color: #854d0e;
    padding: 0.125rem 0.25rem;
    border-radius: 2px;
    font-weight: 500;
}

.modal-rapport-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.btn-delete-rapport-modal {
    padding: 0.75rem 1.5rem;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-delete-rapport-modal:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-delete-rapport-modal i {
    font-size: 0.875rem;
}

.btn-copy-rapport {
    flex: 1;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-copy-rapport:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary-modal {
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary-modal:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

/* Responsive */
@media (max-width: 1400px) {
    :root {
        --sidebar-width: 280px;
        --sidebar-right-width: 320px;
    }
}

@media (max-width: 1024px) {
    .sidebar-right {
        display: none;
    }
    
    .main-content {
        margin-right: 0;
    }
    
    :root {
        --sidebar-width: 280px;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .main-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .app-layout {
        flex-direction: column;
    }
    
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .sidebar-right {
        position: static;
        width: 100%;
        height: auto;
        border-left: none;
        border-top: 1px solid var(--gray-200);
    }
    
    .main-content {
        margin-left: 0;
        margin-right: 0;
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .reunion-summary {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary span {
        display: none;
    }
}

/* ===============================================
   MODAL AJOUT RAPPORT (PLEIN ÉCRAN)
   =============================================== */
.modal-add-rapport {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary-color);
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.modal-add-rapport.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-add-rapport-content {
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-add-rapport-header {
    padding: 1.5rem 2rem;
    background: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--accent-color);
    flex-shrink: 0;
}

.modal-add-rapport-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.form-add-rapport {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.modal-add-rapport-body {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background: #f8f9fa;
}

.modal-add-rapport-body .form-group {
    margin-bottom: 1.5rem;
}

.modal-add-rapport-body label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.input-titre-rapport {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.input-titre-rapport:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.editor-group {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 300px);
}

.content-editor-fullscreen {
    flex: 1;
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
    overflow-y: auto;
    background: white;
    min-height: 400px;
    transition: all 0.3s ease;
}

.content-editor-fullscreen:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.content-editor-fullscreen:empty:before {
    content: attr(data-placeholder);
    color: #999;
    font-style: italic;
}

.content-editor-fullscreen img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-add-rapport-footer {
    padding: 1.5rem 2rem;
    background: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cancel-modal,
.btn-save-modal {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-cancel-modal {
    background: #6c757d;
    color: white;
}

.btn-cancel-modal:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-save-modal {
    background: var(--accent-color);
    color: white;
}

.btn-save-modal:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-add-rapport-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-add-rapport-header h3 {
        font-size: 1.25rem;
    }
    
    .modal-add-rapport-body {
        padding: 1.5rem;
    }
    
    .editor-group {
        height: calc(100vh - 280px);
    }
    
    .modal-add-rapport-footer {
        padding: 1rem 1.5rem;
    }
    
    .btn-cancel-modal,
    .btn-save-modal {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}