/**
 * Styles pour les commentaires
 * Conforme NG-420001 : Fichiers < 500 lignes
 */

.comments-section {
    margin-top: 4rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}
.comments-title {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.6rem;
}
.comment-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid #28a745;
    margin-bottom: 2rem;
}
.comment-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid #dc3545;
    margin-bottom: 2rem;
}
.comment-form-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.comment-form-container h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}
.form-group textarea {
    resize: vertical;
}
.captcha-container {
    margin-bottom: 0.5rem;
}
.captcha-image {
    border: 2px solid #ddd;
    border-radius: 4px;
    display: block;
    margin-bottom: 0.5rem;
}
.captcha-container small {
    color: #666;
    font-size: 0.9rem;
}
.captcha-input {
    max-width: 150px !important;
}
.required {
    color: #dc3545;
}
.comment-submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.comment-submit-btn:hover {
    background: #3a7bc8;
}
.comments-list {
    margin-top: 2rem;
}
.comment-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}
.comment-author {
    font-weight: 600;
    color: var(--text-color);
}
.comment-date {
    color: var(--text-light);
    font-size: 0.9rem;
}
.comment-body {
    color: var(--text-color);
    line-height: 1.6;
}
.comment-body a {
    color: var(--primary-color);
    word-break: break-all;
}
.no-comments {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 2rem;
}

/* AddToAny */
.a2a_floating_style.a2a_vertical_style {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15) !important;
    padding: 8px 0 !important;
}
.a2a_floating_style a {
    margin: 4px 0 !important;
}
@media (max-width: 768px) {
    .a2a_floating_style {
        display: none !important;
    }
}
