        /* ========================================
           SYSTÈME DE COMMENTAIRES
           ======================================== */
        
        .comments-section {
            background: #f8fafc;
            border-radius: 20px;
            padding: 3rem;
            margin-top: 3rem;
        }

        .comments-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #e2e8f0;
        }

        .comments-count {
            font-size: 1.5rem;
            font-weight: bold;
            color: #1e293b;
        }

        /* Formulaire de commentaire */
        .comment-form {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            margin-bottom: 2rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .comment-auth-required {
            text-align: center;
            padding: 3rem;
            background: white;
            border-radius: 15px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .auth-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin-top: 1.5rem;
        }

        .btn-login, .btn-register {
            padding: 0.8rem 2rem;
            border-radius: 25px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .btn-login {
            background: white;
            color: #10b981;
            border: 2px solid #10b981;
        }

        .btn-register {
            background: #10b981;
            color: white;
            border: 2px solid #10b981;
        }

        .btn-login:hover {
            background: #10b981;
            color: white;
        }

        .btn-register:hover {
            background: #059669;
            border-color: #059669;
        }

        /* Commentaire individuel */
        .comment {
            background: white;
            padding: 1.5rem;
            border-radius: 10px;
            margin-bottom: 1rem;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        .comment-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .comment-author {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .comment-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #10b981, #34d399);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
        }

        .comment-author-info {
            display: flex;
            flex-direction: column;
        }

        .comment-author-name {
            font-weight: 600;
            color: #1e293b;
        }

        .comment-date {
            font-size: 0.85rem;
            color: #64748b;
        }

        .comment-actions {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .comment-action {
            font-size: 0.85rem;
            color: #64748b;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .comment-action:hover {
            color: #10b981;
        }

        /* Réponses aux commentaires */
        .comment-replies {
            margin-left: 3rem;
            margin-top: 1rem;
        }

        .comment-reply {
            background: #f8fafc;
            padding: 1rem;
            border-radius: 8px;
            margin-bottom: 0.5rem;
            border-left: 3px solid #10b981;
        }


        /* Styles pour les commentaires */
        .comments-section {
            max-width: 800px;
            margin: 3rem auto;
            padding: 2rem;
            background: #f8fafc;
            border-radius: 15px;
        }

        .comments-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #e2e8f0;
        }

        .comments-count {
            font-size: 1.5rem;
            font-weight: bold;
            color: #1e293b;
        }

        /* Formulaire de commentaire */
        .comment-form {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            margin-bottom: 2rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .comment-form.hidden {
            display: none;
        }

        .comment-auth-required {
            text-align: center;
            padding: 3rem;
            background: white;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .comment-auth-required.hidden {
            display: none;
        }

        .auth-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin-top: 1.5rem;
        }

        .btn {
            padding: 0.8rem 2rem;
            border-radius: 25px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }

        .btn-primary {
            background: #10b981;
            color: white;
        }

        .btn-primary:hover {
            background: #059669;
            transform: translateY(-2px);
        }

        .btn-secondary {
            background: white;
            color: #10b981;
            border: 2px solid #10b981;
        }

        .btn-secondary:hover {
            background: #10b981;
            color: white;
        }

        .comment-textarea {
            width: 100%;
            min-height: 120px;
            padding: 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            font-size: 1rem;
            resize: vertical;
            margin-bottom: 1rem;
        }

        .comment-textarea:focus {
            outline: none;
            border-color: #10b981;
        }

        /* Liste des commentaires */
        .comments-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .comment {
            background: white;
            padding: 1.5rem;
            border-radius: 10px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        .comment-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1rem;
        }

        .comment-author {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .comment-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #10b981, #34d399);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
        }

        .comment-author-info {
            display: flex;
            flex-direction: column;
        }

        .comment-author-name {
            font-weight: 600;
            color: #1e293b;
        }

        .comment-date {
            font-size: 0.85rem;
            color: #64748b;
        }

        .comment-status {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 15px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .status-pending {
            background: rgba(245, 158, 11, 0.1);
            color: #f59e0b;
        }

        .comment-content {
            color: #475569;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .comment-actions {
            display: flex;
            gap: 1.5rem;
            margin-top: 1rem;
        }

        .comment-action {
            font-size: 0.85rem;
            color: #64748b;
            cursor: pointer;
            transition: color 0.3s ease;
            background: none;
            border: none;
            padding: 0;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        .comment-action:hover {
            color: #10b981;
        }

        .comment-action.liked {
            color: #10b981;
        }

        /* Réponses */
        .comment-replies {
            margin-left: 3rem;
            margin-top: 1rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .comment-reply {
            background: #f8fafc;
            padding: 1rem;
            border-radius: 8px;
            border-left: 3px solid #10b981;
        }

        .reply-form {
            margin-left: 3rem;
            margin-top: 1rem;
            background: #f8fafc;
            padding: 1rem;
            border-radius: 8px;
            display: none;
        }

        .reply-form.active {
            display: block;
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            margin-top: 2rem;
        }

        .pagination-btn {
            padding: 0.5rem 1rem;
            border: 1px solid #e2e8f0;
            background: white;
            color: #64748b;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .pagination-btn:hover:not(:disabled) {
            background: #f8fafc;
            border-color: #10b981;
            color: #10b981;
        }

        .pagination-btn.active {
            background: #10b981;
            color: white;
            border-color: #10b981;
        }

        .pagination-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Loading */
        .loading {
            text-align: center;
            padding: 3rem;
            color: #64748b;
        }

        .spinner {
            display: inline-block;
            width: 40px;
            height: 40px;
            border: 4px solid #e2e8f0;
            border-top-color: #10b981;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Messages */
        .alert {
            padding: 1rem;
            border-radius: 8px;
            margin-bottom: 1rem;
            display: none;
        }

        .alert.show {
            display: block;
        }

        .alert-success {
            background: #d1fae5;
            color: #065f46;
            border: 1px solid #6ee7b7;
        }

        .alert-error {
            background: #fee2e2;
            color: #991b1b;
            border: 1px solid #fca5a5;
        }

        .alert-info {
            background: #dbeafe;
            color: #1e40af;
            border: 1px solid #93c5fd;
        }