
/**
 * Rélisation du système de commentaires en PHP/JS par c2script.com
 */
.c2-body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.c2-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.c2-h1 {
    text-align: center;
}

.c2-comment {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.c2-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    color: rgb(20, 20, 20);
    font-weight: bold;
    margin-right: 10px;
    vertical-align: middle;
}

.c2-replies {
    margin-left: 20px;
}

.c2-form {
    display: flex;
    flex-direction: column;
}

.c2-label {
    margin-top: 10px;
}

.c2-input, .c2-textarea {
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.c2-captcha-image {
    width: 100px;
    height: auto;
}
.c2-captcha-image + span {
    cursor: pointer;
}

.c2-button {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.c2-button:hover {
    background-color: #0056b3;
}

.c2-theme-toggle {
    text-align: center;
    margin-bottom: 10px;
}

.c2-theme-icon {
    cursor: pointer;
    font-size: 24px;
    margin: 0 5px;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.c2-theme-icon:hover {
    background-color: #f0f0f0;
}

.c2-theme-icon.active {
    background-color: #007bff;
    color: white;
}

.c2-container.dark-theme .c2-theme-icon.active {
    background-color: #555;
}

/* Dark theme styles */
.c2-container.dark-theme {
    background-color: #2c2c2c;
    color: #ffffff;
}

.c2-container.dark-theme .c2-comment {
    border-color: #555;
    background-color: #3a3a3a;
    color: #ffffff;
}

.c2-container.dark-theme .c2-comment strong {
    color: #ffffff;
}

.c2-container.dark-theme .c2-comment a {
    color: #87ceeb;
}

.c2-container.dark-theme .c2-comment small {
    color: #cccccc;
}

.c2-container.dark-theme .c2-label {
    color: #ffffff;
}

.c2-container.dark-theme .c2-input,
.c2-container.dark-theme .c2-textarea {
    background-color: #3a3a3a;
    color: #ffffff;
    border-color: #555;
}

.c2-container.dark-theme .c2-input::placeholder,
.c2-container.dark-theme .c2-textarea::placeholder {
    color: #cccccc;
}

.c2-container.dark-theme .c2-comment-count {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 600px) {
    .c2-container {
        padding: 10px;
    }
    .c2-comment {
        padding: 5px;
    }
}