/* ===============================
  COMMENTS - MODERN
================================*/
.comments-container {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.comment-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--border-color);
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--primary-300);
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-500);
}

.comment-body {
    flex: 1;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.comment-body p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-light);
}

.comment-form {
    display: flex;
    align-items: flex-end; /* A gomb az utolsó sor aljához igazodik */
    gap: 10px;
    margin-top: 1.5rem;
    width: 100%;
}

.comment-input {
    flex: 1;
    min-width: 0;
    min-height: 44px; 
    height: 44px;
    max-height: 140px; /* 5 sor: (5 * 24px line-height) + padding */
    padding: 8px 16px;
    box-sizing: border-box;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background: var(--dark-surface-alt);
    color: var(--text-light);
    outline: none;
    resize: none;
    line-height: 24px;
    font-family: inherit;
    font-size: 15px;
    overflow-y: hidden;
}

.comment-input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(79,140,255,0.15);
}

.forum-submit-btn {
    flex-shrink: 0; 
    height: 44px; /* Pontosan akkora, mint a textarea alapmérete */
    padding: 0 20px;
    border: none;
    border-radius: 20px;
    background: green;
    color: white;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.forum-submit-btn:hover {
    background: darkgreen;
}

@media (max-width: 576px) {
    .comment-input {
        padding: 8px 14px;
    }
    .forum-submit-btn {
        padding: 0 12px;
        font-size: 14px;
    }
}
