/* ========== Comment Form (Light Theme) ========== */

.comment-form {
    margin-top: 20px;
    background: #f9f7f7; /* светлый фон карточки */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: var(--text);
}

/* Поля ввода */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    background: #fff;
    color: var(--text);
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    width: 100%;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border .2s, box-shadow .2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent, #d1417c);
    box-shadow: 0 0 0 2px rgba(209,65,124,0.2);
}

/* Кнопка отправки */
.comment-form .form-submit input[type="submit"] {
    background: var(--accent, #d1417c);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background .3s, transform .2s;
}
.comment-form .form-submit input[type="submit"]:hover {
    background: #b83263;
    transform: translateY(-2px);
}

/* Подписи и подсказки */
.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--ink);
}
.comment-notes,
.comment-form .form-allowed-tags {
    font-size: .9rem;
    color: #666;
    margin-bottom: 15px;
}

/* Сообщения об ошибке и успехе */
.comment-form .error,
.comment-form .success {
    font-weight: 600;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid;
    border-radius: 6px;
}
.comment-form .error {
    background: #ffe6e6;
    color: #a33;
    border-color: #a33;
}
.comment-form .success {
    background: #e6ffe6;
    color: #2a6;
    border-color: #2a6;
}
