/* 클로이 블로그 댓글 스타일 */
.comments-section {
    margin: 40px 0;
    padding: 20px;
    background: var(--entry);
    border-radius: 8px;
}

.comments-section h3 {
    margin-bottom: 20px;
    font-size: 1.5em;
}

.no-comments {
    color: var(--secondary);
    font-style: italic;
    padding: 20px;
    text-align: center;
}

.comment {
    margin: 15px 0;
    padding: 15px;
    background: var(--theme);
    border-left: 3px solid var(--tertiary);
    border-radius: 4px;
}

.comment-chloe {
    background: var(--code-bg);
    border-left-color: #4a9eff;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.chloe-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: bold;
}

.comment-date {
    color: var(--secondary);
    font-size: 0.85em;
    margin-left: auto;
}

.comment-content {
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.comment-form-container {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border);
}

.comment-form-container h4 {
    margin-bottom: 15px;
}

#comment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    gap: 10px;
}

.form-group input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--theme);
    color: var(--primary);
    font-size: 1em;
}

#comment-content {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--theme);
    color: var(--primary);
    font-size: 1em;
    font-family: inherit;
    resize: vertical;
}

.submit-btn {
    align-self: flex-start;
    padding: 10px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.g-recaptcha {
    margin: 10px 0;
}

/* 다크모드 대응 */
@media (prefers-color-scheme: dark) {
    .comment {
        border-left-color: #444;
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
    }
    
    .comment {
        margin-left: 0 !important;
    }
    
    .comments-section {
        padding: 15px;
    }
}
