/* ==========================================
   MIEAYAMTERDEKAT - COMMENTS WIDGET
========================================== */

.may-comments {
    width: 100%;
    margin: 40px 0;
    padding: 28px;
    background: #fffdf7;
    border: 1px solid #e8e4d8;
    border-radius: 18px;
    box-sizing: border-box;
    color: #263b2d;
    font-family: inherit;
}

.may-comments *,
.may-comments *::before,
.may-comments *::after {
    box-sizing: border-box;
}

.may-comments-title {
    margin: 0 0 8px;
    color: #234331;
    font-size: 24px;
    font-weight: 800;
}

.may-comments-subtitle {
    margin: 0 0 22px;
    color: #77786e;
    font-size: 14px;
    line-height: 1.6;
}

.may-comments-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.may-comments-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.may-comments-field label {
    color: #344b39;
    font-size: 14px;
    font-weight: 700;
}

.may-comments-field input,
.may-comments-field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #dcdccd;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    color: #263b2d;
    font: inherit;
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
}

.may-comments-field input:focus,
.may-comments-field textarea:focus {
    border-color: #3c704d;
    box-shadow: 0 0 0 3px rgba(60, 112, 77, .12);
}

.may-comments-field textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.may-comments-submit {
    align-self: flex-start;
    min-height: 44px;
    padding: 12px 24px;
    border: 0;
    border-radius: 10px;
    background: #285b3b;
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.may-comments-submit:hover {
    background: #1e472e;
    transform: translateY(-1px);
}

.may-comments-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.may-comments-message {
    display: none;
    margin: 0;
    padding: 11px 13px;
    border-radius: 9px;
    font-size: 14px;
    line-height: 1.5;
}

.may-comments-message.is-visible {
    display: block;
}

.may-comments-message.is-success {
    background: #eaf5eb;
    color: #245c31;
}

.may-comments-message.is-error {
    background: #fff0ed;
    color: #a33225;
}

.may-comments-list-title {
    margin: 30px 0 15px;
    color: #234331;
    font-size: 18px;
    font-weight: 800;
}

.may-comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.may-comment-item {
    padding: 16px;
    border: 1px solid #ece9df;
    border-radius: 12px;
    background: #ffffff;
}

.may-comment-name {
    margin: 0 0 5px;
    color: #285b3b;
    font-size: 15px;
    font-weight: 800;
}

.may-comment-date {
    display: block;
    margin-bottom: 10px;
    color: #929286;
    font-size: 12px;
}

.may-comment-text {
    margin: 0;
    color: #4e5149;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.may-comments-empty {
    padding: 18px;
    border: 1px dashed #dcdccd;
    border-radius: 10px;
    color: #77786e;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 600px) {
    .may-comments {
        margin: 28px 0;
        padding: 19px;
        border-radius: 14px;
    }

    .may-comments-title {
        font-size: 21px;
    }

    .may-comments-submit {
        width: 100%;
    }
}
