/* Navy-style comments */
.comments-section {
    width: 100%;
}

.cmt-input-login {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0 20px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 8px;
}

.cmt-input-login__avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.cmt-input-login__msg {
    font-size: 14px;
    color: var(--gray-600, #4b5563);
}

.cmt-login-link {
    color: var(--brand-600, #2563eb);
    font-weight: 600;
    text-decoration: none;
}

.cmt-form {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0 20px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 8px;
}

.cmt-form__avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.cmt-form__body {
    flex: 1;
}

.cmt-form__input,
.comment-input,
.reply-input {
    width: 100%;
    min-height: 80px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
}

.cmt-form__input:focus,
.comment-input:focus,
.reply-input:focus {
    border-color: var(--brand-600, #2563eb);
}

.cmt-form__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.send-button,
.send-button-mobile,
.reply-send-btn {
    padding: 8px 16px;
    background: var(--brand-600, #2563eb);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    float: none;
    width: auto;
    height: auto;
    margin-top: 0;
}

.send-button:hover,
.reply-send-btn:hover {
    background: var(--brand-700, #1d4ed8);
}

.cmts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cmt-item,
.comment-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
}

.cmt-item:last-child,
.comment-item:last-child {
    border-bottom: none;
}

.cmt-item--reply,
.comment-item.reply-item {
    margin-left: 52px;
    padding-left: 0;
}

.cmt-item__avatar img,
.comment-avatar img,
.avatar_comment {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.cmt-item__body,
.comment-content {
    flex: 1;
    min-width: 0;
}

.cmt-item__meta,
.comment-user-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.cmt-item__author,
.username {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800, #1f2937);
}

.cmt-item__time,
.comment-time,
.comment-time-title {
    font-size: 12px;
    color: var(--gray-400, #9ca3af);
}

.cmt-item__text,
.comment-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-700, #374151);
    margin-bottom: 8px;
    word-break: break-word;
}

.cmt-item__actions,
.comment-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cmt-btn,
.action-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    color: var(--gray-500, #6b7280);
    cursor: pointer;
    font-family: inherit;
}

.cmt-btn--like.liked,
.action-button.like-btn .fas {
    color: #ef4444;
}

.action-button.reply {
    color: var(--brand-600, #2563eb);
    font-weight: 500;
}

.cmts-load-more,
.load-more {
    text-align: center;
    padding: 16px 0 0;
}

.load-more-button {
    background: none;
    border: none;
    color: var(--gray-500, #6b7280);
    font-size: 13px;
    cursor: pointer;
}

.load-more-button:hover {
    color: var(--brand-600, #2563eb);
}

.reply-input-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e5e7eb;
}

.replies-container {
    margin-left: 52px;
    border-left: 2px solid #f3f4f6;
    padding-left: 12px;
}

.comment-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    position: relative;
}

.comment-header .comment-content {
    flex: 1;
}

.comment-header .comment-time {
    position: static;
    flex-shrink: 0;
}
