.comments-section {
    margin-top: 30px;
    padding: 20px;
    background: var(--card-bg, #ffffff);
    border-radius: 10px;
    border: 1px solid var(--border-color, #e0e0e0);
}

.comments-section h3 {
    margin-bottom: 20px;
    color: var(--text-color, #333);
}

.comment-form {
    margin-bottom: 20px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    background: var(--bg-color, #f5f5f5);
    color: var(--text-color, #333);
}

.comment-form input {
    max-width: 200px;
}

.comment-form textarea {
    min-height: 80px;
    resize: vertical;
}

.comment-form button {
    padding: 10px 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.comment-form button:hover {
    transform: translateY(-2px);
}

.comments-list {
    max-height: 400px;
    overflow-y: auto;
}

.comment-item {
    padding: 15px;
    margin-bottom: 10px;
    background: var(--bg-color, #f5f5f5);
    border-radius: 5px;
    border-left: 3px solid #667eea;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-header strong {
    color: var(--text-color, #333);
}

.comment-date {
    font-size: 12px;
    color: var(--text-secondary, #666);
}

.comment-content {
    color: var(--text-color, #333);
    line-height: 1.6;
    word-wrap: break-word;
}

.no-comments {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary, #666);
    font-style: italic;
}

/* 다크 모드 지원 */
[data-theme="dark"] .comments-section {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .comment-form input,
[data-theme="dark"] .comment-form textarea {
    background: var(--bg-color);
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .comment-item {
    background: var(--bg-color);
}
