/* =====================================================
   ORTAK PANEL
===================================================== */

.panel-box {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

/* =====================================================
   ORTAK İÇERİK KARTI
===================================================== */

.content-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.content-card h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #222;
}

.content-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* =====================================================
   BİLGİ BLOKLARI
===================================================== */

.info-group {
    margin-bottom: 28px;
}

.info-group h3 {
    font-size: 17px;
    margin-bottom: 14px;
    color: #222;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 16px;
}

.info-box {
    background: #f7f7f7;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 12px;
    color: #777;
    font-weight: 600;
}

.info-value {
    font-size: 15px;
    color: #222;
    font-weight: 600;
}

/* =====================================================
   ETİKETLER
===================================================== */

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    background: #f3f3f3;
    border-radius: 999px;
    font-size: 14px;
    color: #222;
}

.tag.warning {
    background: #ececec;
}

/* =====================================================
   ORTAK YORUM / İÇERİK KARTI
===================================================== */

.comment-card {
    background: #f7f7f7;
    border-radius: 14px;
    padding: 16px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.avatar-placeholder {
    width: 36px;
    height: 36px;
    background: #ddd;
    border-radius: 50%;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.username {
    font-size: 14px;
    font-weight: bold;
}

.role {
    font-size: 12px;
    color: #777;
}

.comment-rating {
    font-size: 14px;
    color: black;
    margin-bottom: 8px;
}

.comment-rating span {
    color: #333;
    margin-left: 6px;
}

.comment-text {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

/* =====================================================
   KATEGORİ MENÜSÜ
===================================================== */

.categories-overlay {
    width: 100%;
    background: rgba(0, 0, 0, 0.08);
    padding: 0 24px 24px;
    display: none;
}

.categories-overlay.show {
    display: block;
}

.categories-panel {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
    display: grid;
    grid-template-columns: 240px 1fr;
    overflow: hidden;
}

.categories-left {
    background: #fafafa;
    border-right: 1px solid #eee;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-main {
    text-align: left;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    background: transparent;
    font-size: 15px;
}

.category-main:hover {
    background: #f2f2f2;
}

.category-main.active {
    background: #ececec;
    border-color: #ddd;
    font-weight: 600;
}

.categories-right {
    padding: 28px;
    min-height: 320px;
}

.category-content {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

.category-content.active {
    display: grid;
}

.category-column h3 {
    font-size: 18px;
    margin-bottom: 14px;
    color: #222;
}

.category-column a {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    color: #444;
    transition: color 0.2s ease;
}

.category-column a:hover {
    color: #111;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .categories-panel {
        grid-template-columns: 1fr;
    }

    .categories-left {
        border-right: none;
        border-bottom: 1px solid #eee;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .category-content.active {
        grid-template-columns: 1fr;
    }
}