* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100vh;
    overflow: hidden;
}

.window {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin: 20px;
    height: calc(100vh - 40px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.title-bar {
    background: rgba(255, 255, 255, 0.8);
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px 12px 0 0;
}

.title-bar .icon {
    color: #0078d4;
    margin-right: 8px;
    font-size: 16px;
}

.title-bar .title {
    flex: 1;
    font-size: 14px;
    font-weight: 400;
}

.window-controls {
    display: flex;
    gap: 12px;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.minimize {
    background: #ffbd2e;
}

.maximize {
    background: #28ca42;
}

.close {
    background: #ff5f56;
}

.toolbar {
    background: rgba(248, 249, 250, 0.8);
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    gap: 15px;
}

.nav-buttons {
    display: flex;
    gap: 8px;
}

.nav-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: #f0f0f0;
    border-color: #999;
}

.action-buttons {
    display: flex;
    gap: 8px;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid #ddd;
}

.action-btn {
    height: 32px;
    border: 1px solid #0078d4;
    background: rgba(0, 120, 212, 0.1);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    color: #0078d4;
    transition: all 0.2s;
    font-size: 13px;
    font-weight: 500;
}

.action-btn:hover {
    background: rgba(0, 120, 212, 0.2);
    border-color: #106ebe;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.2);
}

.action-btn i {
    font-size: 14px;
}

.address-bar {
    flex: 1;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    background: white;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.search-box {
    width: 200px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 35px 0 10px;
    background: white;
    font-size: 14px;
    position: relative;
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.main-content {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.sidebar {
    width: 250px;
    background: rgba(248, 249, 250, 0.9);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    overflow-y: auto;
}

.sidebar-section {
    margin-bottom: 25px;
}

.sidebar-title {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin: 0 20px 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.sidebar-item:hover {
    background: rgba(0, 120, 212, 0.1);
}

.sidebar-item.active {
    background: rgba(0, 120, 212, 0.15);
    border-right: 3px solid #0078d4;
}

.sidebar-icon {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
}

.content-area {
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(248, 249, 250, 0.5);
}

.quick-access {
    margin-bottom: 25px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.quick-item:hover {
    background: rgba(0, 120, 212, 0.05);
    border-color: rgba(0, 120, 212, 0.2);
    transform: translateY(-2px);
}

.quick-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.quick-name {
    font-size: 13px;
    text-align: center;
}

.files-section {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.file-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
    position: relative;
}

/* Padding spécial pour les éléments avec thumbnail */
.file-item.has-thumbnail {
    padding: 0 0 15px 0;
}

/* Espacement pour le contenu textuel dans les cartes avec thumbnail */
.file-item.has-thumbnail .file-name,
.file-item.has-thumbnail .file-size {
    padding-left: 15px;
    padding-right: 15px;
}

.file-item:hover {
    background: rgba(0, 120, 212, 0.05);
    border-color: rgba(0, 120, 212, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.file-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.file-thumbnail {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 12px;
    border: none;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0;
}

.file-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.file-thumbnail.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

.file-thumbnail.error {
    background: #f8f9fa;
    color: #666;
    font-size: 24px;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.file-name {
    font-size: 13px;
    text-align: center;
    word-break: break-word;
    max-width: 100%;
}

.file-size {
    font-size: 11px;
    color: #666;
    margin-top: 4px;
}

.folder-empty-label {
    font-size: 10px;
    color: #999;
    margin-top: 4px;
    font-style: italic;
}

.directory {
    color: #0078d4;
}

/* Dossiers vides - Vue grille */
.file-item.empty-folder .file-icon {
    opacity: 0.4;
    filter: grayscale(100%);
}

.file-item.empty-folder .file-name {
    color: #999;
}

.file-item.empty-folder:hover .file-icon {
    opacity: 0.6;
}

.view-controls {
    display: flex;
    gap: 4px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px;
}

.view-btn {
    width: 32px;
    height: 28px;
    border: none;
    background: transparent;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s;
    font-size: 14px;
}

.view-btn:hover {
    background: rgba(0, 120, 212, 0.1);
    color: #0078d4;
}

.view-btn.active {
    background: #0078d4;
    color: white;
}

/* Vue en liste */
.files-list {
    width: 100%;
}

.list-header {
    display: flex;
    background: rgba(248, 249, 250, 0.8);
    border-bottom: 2px solid #e1e4e8;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.list-item {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
    min-height: 40px;
    position: relative;
}

.list-item:hover {
    background: rgba(0, 120, 212, 0.05);
}

.list-item.directory {
    color: #0078d4;
}

.list-col {
    display: flex;
    align-items: center;
}

.list-col-name {
    flex: 1;
    min-width: 200px;
    font-weight: 500;
}

.list-col-date {
    width: 150px;
    font-size: 13px;
    color: #666;
}

.list-col-type {
    width: 120px;
    font-size: 13px;
    color: #666;
}

.list-col-size {
    width: 100px;
    text-align: right;
    font-size: 13px;
    color: #666;
}

.list-icon {
    font-size: 16px;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.list-thumbnail {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 3px;
    margin-right: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.list-thumbnail.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

.list-thumbnail.error {
    background: #f8f9fa;
    color: #666;
    font-size: 14px;
}

.list-name {
    flex: 1;
}

/* Dossiers vides - Vue liste */
.list-item.empty-folder .list-icon {
    opacity: 0.4;
    filter: grayscale(100%);
}

.list-item.empty-folder .list-thumbnail {
    opacity: 0.4;
    filter: grayscale(100%);
}

.list-item.empty-folder .list-name {
    color: #999;
}

.list-item.empty-folder:hover .list-icon,
.list-item.empty-folder:hover .list-thumbnail {
    opacity: 0.6;
}

/* Menu contextuel */
.file-options {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 10;
    font-size: 12px;
    color: #666;
}

.file-item:hover .file-options {
    opacity: 1;
}

.file-options:hover {
    background: rgba(0, 120, 212, 0.1);
    color: #0078d4;
}

.options-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    min-width: 150px;
    z-index: 1000;
    padding: 4px 0;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.option-item:hover {
    background: rgba(0, 120, 212, 0.05);
}

.option-item i {
    margin-right: 8px;
    font-size: 12px;
    width: 16px;
    text-align: center;
}

/* Options pour vue liste */
.list-options {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 10;
    font-size: 12px;
    color: #666;
}

.list-item:hover .list-options {
    opacity: 1;
}

.list-options:hover {
    background: rgba(0, 120, 212, 0.1);
    color: #0078d4;
}

/* Modale de confirmation */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation-duration: 0.3s !important;
}

.modal-header {
    background: rgba(248, 249, 250, 0.8);
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header i {
    color: #ff6b35;
}

.modal-body {
    padding: 24px 20px;
}

.modal-body p {
    margin: 0 0 12px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.modal-filename {
    font-weight: 600;
    color: #333;
    background: rgba(248, 249, 250, 0.8);
    padding: 8px 12px;
    border-radius: 6px;
    word-break: break-all;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
}

.modal-footer {
    background: rgba(248, 249, 250, 0.5);
    padding: 16px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    min-width: 90px;
    justify-content: center;
}

.modal-btn-cancel {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.modal-btn-cancel:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.modal-btn-confirm {
    background: #ff6b35;
    color: white;
}

.modal-btn-confirm:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

/* Styles pour les inputs de modale */
.modal-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e4e8;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    margin-top: 8px;
    transition: border-color 0.2s;
}

.modal-input:focus {
    outline: none;
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.modal-error {
    background: #fff5f5;
    color: #e53e3e;
    border: 1px solid #feb2b2;
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-error::before {
    content: "⚠️";
    font-size: 14px;
}

/* Styles pour le bouton nouveau dossier */
.new-folder-btn:hover {
    border-color: #0078d4 !important;
    background: rgba(0, 120, 212, 0.1) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.2);
}

@media (max-width: 768px) {
    .sidebar {
        width: 200px;
    }

    .quick-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .files-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .view-controls {
        order: -1;
        margin-bottom: 10px;
    }

    .list-col-date,
    .list-col-type {
        display: none;
    }

    .list-col-size {
        width: 80px;
    }
}

/* === STYLES POUR LA MODALE D'UPLOAD === */

.upload-section {
    padding: 0;
}

.drop-zone {
    position: relative;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: rgba(248, 249, 250, 0.5);
    transition: all 0.3s ease;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.drop-zone:hover {
    border-color: #0078d4;
    background: rgba(0, 120, 212, 0.05);
}

.drop-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.drop-zone-dragover {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 120, 212, 0.1);
    border-color: #0078d4;
    border-style: solid;
    border-radius: 12px;
    justify-content: center;
}

.drop-zone-dragover h3 {
    color: #0078d4;
    font-weight: 600;
    margin: 0;
}

.drop-icon {
    font-size: 48px;
    color: #999;
    margin-bottom: 8px;
}

.drop-icon-large {
    font-size: 64px;
    color: #0078d4;
    margin-bottom: 12px;
}

.drop-zone h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.drop-zone p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.upload-browse-btn {
    background: #0078d4;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.upload-browse-btn:hover {
    background: #106ebe;
    transform: translateY(-1px);
}

.file-info {
    margin: 20px 0;
    padding: 16px;
    background: rgba(0, 120, 212, 0.05);
    border-radius: 8px;
    border-left: 4px solid #0078d4;
}

.file-limits,
.file-types {
    margin: 0 0 8px;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-types {
    margin-bottom: 0;
}

.file-limits i {
    color: #0078d4;
}

.upload-progress {
    margin: 20px 0;
}

.upload-progress-bar {
    height: 8px;
    background: #f1f1f1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.upload-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0078d4, #106ebe);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.upload-status {
    text-align: center;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.selected-files {
    margin: 20px 0;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #fafafa;
}

.selected-files h4 {
    margin: 0 0 12px;
    padding: 12px 16px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.selected-files-list {
    padding: 0 16px 16px;
}

.selected-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    margin-bottom: 8px;
}

.selected-file-item:last-child {
    margin-bottom: 0;
}

.selected-file-item .file-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    flex: 1;
}

.file-name {
    font-weight: 500;
    color: #333;
}

.file-size {
    color: #666;
    font-size: 12px;
}

.remove-file-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.remove-file-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.upload-error {
    margin: 20px 0;
    padding: 16px;
    background: rgba(220, 53, 69, 0.05);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 8px;
    color: #721c24;
}

.upload-error h4 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #721c24;
}

.upload-error ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.upload-error li {
    margin-bottom: 4px;
    font-size: 13px;
}

/* Animation pour la zone de drop active */
.drop-zone.dragover {
    border-color: #0078d4;
    background: rgba(0, 120, 212, 0.1);
    transform: scale(1.02);
}

/* Styles responsive pour la modale d'upload */
@media (max-width: 768px) {
    .drop-zone {
        padding: 30px 15px;
        min-height: 140px;
    }

    .drop-icon {
        font-size: 36px;
    }

    .drop-icon-large {
        font-size: 48px;
    }

    .drop-zone h4 {
        font-size: 16px;
    }

    .upload-browse-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .file-info {
        padding: 12px;
    }

    .selected-file-item {
        padding: 6px 8px;
    }

    .file-name {
        font-size: 13px;
    }

    .file-size {
        font-size: 11px;
    }
}

/* === STYLES POUR LES FEEDBACKS === */

/* Modale large pour la liste des feedbacks */
.modal-large {
    max-width: 700px;
    width: 95%;
}

/* Header de la modale feedbacks avec bouton */
.modal-header {
    position: relative;
}

.feedback-add-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #0078d4;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.feedback-add-btn:hover {
    background: #106ebe;
    transform: translateY(-50%) translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.3);
}

.feedback-add-btn i {
    font-size: 12px;
}

/* Tableau des feedbacks */
.feedbacks-table {
    width: 100%;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    overflow: hidden;
}

.feedbacks-header {
    display: flex;
    background: rgba(248, 249, 250, 0.8);
    border-bottom: 2px solid #e1e4e8;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feedbacks-body {
    max-height: 400px;
    overflow-y: auto;
}

.feedback-row {
    display: flex;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s;
}

.feedback-row:last-child {
    border-bottom: none;
}

.feedback-row:hover {
    background: rgba(0, 120, 212, 0.03);
}

.feedback-col-drag {
    width: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-drag-handle {
    cursor: grab;
    color: #d1d5db;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.feedback-drag-handle:hover {
    color: #9ca3af;
}

.feedback-drag-handle:active {
    cursor: grabbing;
}

.feedback-col-date {
    width: 150px;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.feedback-col-message {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    word-wrap: break-word;
}

.feedback-col-actions {
    width: 120px;
    text-align: center;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.feedback-toggle-btn {
    background: transparent;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 14px;
}

.feedback-toggle-btn:hover {
    background: rgba(108, 117, 125, 0.1);
    color: #495057;
    transform: scale(1.1);
}

.feedback-toggle-btn.completed {
    color: #28a745;
}

.feedback-toggle-btn.completed:hover {
    background: rgba(40, 167, 69, 0.1);
    color: #218838;
}

.feedback-delete-btn {
    background: transparent;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 14px;
}

.feedback-delete-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #c82333;
    transform: scale(1.1);
}

/* Styles pour les feedbacks complétés */
.feedback-row.completed .feedback-col-message {
    text-decoration: line-through;
    opacity: 0.6;
    color: #6c757d;
}

.feedback-row.completed .feedback-col-date {
    opacity: 0.6;
    color: #6c757d;
}

/* Styles pour le drag & drop */
.feedback-ghost {
    opacity: 0.4;
}

.feedback-chosen {
    background: rgba(0, 120, 212, 0.08);
}

.feedback-drag {
    cursor: grabbing !important;
    opacity: 1;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Textarea pour le feedback */
.modal-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e4e8;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    margin-top: 8px;
    transition: border-color 0.2s;
    resize: vertical;
}

.modal-textarea:focus {
    outline: none;
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

/* Compteur de caractères */
.feedback-char-count {
    margin-top: 8px;
    text-align: right;
    font-size: 12px;
    color: #666;
}

/* Responsive pour les feedbacks */
@media (max-width: 768px) {
    .modal-large {
        max-width: 95%;
    }

    .feedback-add-btn {
        position: static;
        transform: none;
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }

    .feedback-add-btn:hover {
        transform: translateY(-1px);
    }

    .feedbacks-header {
        font-size: 12px;
        padding: 10px 12px;
    }

    .feedback-row {
        flex-direction: column;
        padding: 12px;
    }

    .feedback-col-date {
        width: 100%;
        margin-bottom: 8px;
        font-weight: 600;
        color: #0078d4;
    }

    .feedback-col-message {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .feedback-col-drag {
        width: 30px;
    }

    .feedback-col-actions {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
    }

    .feedbacks-body {
        max-height: 300px;
    }
}