.comments-section {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.comments-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #FF103B;
    padding-bottom: 8px;
}

.comment-item {
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #eaeaea;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-date {
    font-size: 12px;
    color: #888;
}

.comment-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.comment-form {
    margin-top: 20px;
    padding: 10px;
    background-color: #f1f1f1;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.comment-form textarea {
    width: 100%;
    height: 100px;
    padding: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
    outline: none;
    transition: border-color 0.3s;
    margin-bottom: 10px;
}

.comment-form textarea::placeholder {
    color: #888;
}

.comment-form textarea:focus {
    border-color: #888;
}

.character-count {
    font-size: 12px;
    color: #888;
    text-align: right;
    margin-bottom: 10px;
    align-self: flex-end;
}

.submit-comment-btn {
    background-color: #FF103B;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-comment-btn:hover {
    background-color: #FF103B;
}

.show-toggle-btn {
    display: block;
    margin: 15px auto;
    padding: 10px 20px;
    background-color: #FF103B;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.show-toggle-btn:hover {
    background-color: #FF103B;
}

.hidden-comment {
    display: none;
}

.show-toggle-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FF103B;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 15px auto; /* Центрирует кнопку */
    text-align: center;
}

.show-toggle-btn:hover {
    background-color: #FF103B;
}
