/* CEVAPLAR (comments.php) */
.comments-area { margin-top: 30px; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-body {
    display: flex;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Post-card (comments için) flex layout */
.post-card {
    display: flex;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
}
.comment-author-box {
    flex: 0 0 180px;
    padding: 20px;
    text-align: center;
    background: #f8fafc;
    border-right: 1px solid var(--border-color);
}
.comment-author-box .avatar { border-radius: 50%; }
.comment-author-box .fn { display: block; font-weight: 700; margin-top: 10px; }
.comment-meta { font-size: 13px; }
.comment-content { padding: 20px; flex-grow: 1; }
.comment-content .reply a {
    font-size: 13px;
    font-weight: 700;
}

/* Card content wrapper (comments için) */
.card-content-wrapper {
    padding: 25px;
    flex-grow: 1;
}

.card-header {
    font-size: 13px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.card-body {
    line-height: 1.7;
    word-wrap: break-word;
}

.card-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.card-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
    align-items: center;
}

.card-footer a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.card-footer a:hover {
    color: var(--primary-color);
}

/* Yorumlar Bölümü Başlık Rengi Düzeltmesi */
.comments-area .widget-title {
    color: var(--text-color);
}

/* ZİYARETÇİ POSTBİT - Modern postbit ile aynı layout */
.visitor-postbit {
    flex: 0 0 200px;
    padding: 20px;
    background: #f1f5f9;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    position: relative;
}

.visitor-postbit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #94a3b8, #64748b);
}

.visitor-postbit .author-avatar .avatar {
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.visitor-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.visitor-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.visitor-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
    padding: 4px 8px;
    background: #e2e8f0;
    color: #64748b;
    border-radius: 12px;
    font-weight: 500;
}

.visitor-badge i {
    font-size: 10px;
    opacity: 0.8;
}

.visitor-website {
    margin-top: 5px;
}

.visitor-website a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--primary-color);
    text-decoration: none;
    padding: 4px 8px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.visitor-website a:hover {
    background: var(--primary-color);
    color: #fff;
}

.visitor-website i {
    font-size: 10px;
}

/* YENİ KONU FORMU */
#new-topic-form { background: var(--card-background); padding: 30px; border-radius: 8px; }
#new-topic-form label { font-weight: 700; display: block; margin-bottom: 8px; }
#new-topic-form input[type=\"text\"], #new-topic-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-sizing: border-box; /* Önemli */
    margin-bottom: 20px;
}
#new-topic-form .wp-editor-wrap { border: 1px solid var(--border-color); border-radius: 6px; }

/* MODERN COMMENT FORM */
.modern-reply-form {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.comment-reply-title {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.comment-reply-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #8b5cf6);
}

/* Form alanları */
.comment-form p {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 14px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* TinyMCE Editor styling */
.comment-form .wp-editor-wrap {
    border: 2px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.comment-form .wp-editor-wrap:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.comment-form .mce-toolbar {
    background: #f8fafc !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.comment-form .mce-edit-area {
    background: #fff;
}

.comment-form .mce-edit-area iframe {
    background: #fff !important;
}

/* Submit button */
.comment-form .form-submit {
    margin-top: 25px;
    text-align: right;
}

.comment-form #submit {
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.comment-form #submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.comment-form #submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

/* Checkbox styling */
.comment-form input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
    accent-color: var(--primary-color);
}

.comment-form .comment-subscription-form {
    background: rgba(59, 130, 246, 0.05);
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
    margin-top: 15px;
}

.comment-form .comment-subscription-form label {
    font-weight: normal;
    font-size: 13px;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive form field layout */
.comment-form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.comment-form-comment {
    grid-column: 1 / -1;
    margin-top: 10px;
}

@media (max-width: 767px) {
    .comment-form-fields {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modern-reply-form {
        padding: 20px;
    }
    
    .comment-form #submit {
        width: 100%;
        padding: 14px 20px;
    }
}

