.forum-layout {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

/* ЛЕВОЕ МЕНЮ (Сайдбар) */
.forum-sidebar {
    width: 280px;
    background: #151515;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 15px;
    position: sticky;
    top: 20px;
}

.forum-sidebar h3 {
    color: #d4af37;
    margin-top: 5px;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
}

.tab-btn {
    display: block;
    width: 100%;
    background: transparent;
    color: #bbb;
    border: none;
    text-align: left;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.tab-btn i {
    width: 25px;
    color: #666;
    transition: 0.3s;
}

.tab-btn:hover {
    background: #222;
    color: #fff;
}

.tab-btn.active {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    border-left: 3px solid #d4af37;
}

.tab-btn.active i {
    color: #d4af37;
}

/* ПРАВАЯ ЧАСТЬ (Контент) */
.forum-content {
    flex: 1;
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 30px;
    min-height: 500px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-title {
    color: #fff;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

/* ОБНОВЛЕНИЯ */
.update-post {
    background: #151515;
    border-left: 4px solid #d4af37;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}
.update-date { color: #888; font-size: 12px; margin-bottom: 10px; }
.update-title { color: #d4af37; font-size: 18px; margin: 0 0 10px 0; }
.update-text { color: #ccc; line-height: 1.6; font-size: 14px; }
.update-text ul { padding-left: 20px; margin-top: 10px; }

/* ЗАЯВКИ И ЖАЛОБЫ */
.appeals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.appeal-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    transition: 0.3s;
}

.appeal-card:hover { border-color: #d4af37; transform: translateY(-5px); }
.appeal-card i { font-size: 36px; margin-bottom: 15px; }
.icon-unban { color: #4caf50; }
.icon-unmute { color: #2196f3; }
.icon-report { color: #f44336; }
.appeal-card h4 { color: #fff; margin: 0 0 10px 0; }
.appeal-card p { color: #888; font-size: 12px; margin-bottom: 20px; }
.appeal-btn {
    display: inline-block;
    background: #333;
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 13px;
    transition: 0.3s;
}
.appeal-card:hover .appeal-btn { background: #d4af37; color: #000; font-weight: bold; }

/* ПРАВИЛА */
.rule-box { margin-bottom: 15px; background: #151515; padding: 15px; border-radius: 8px; border-left: 3px solid #555; }
.rule-box.strict { border-left-color: #f44336; }
.rule-num { font-weight: bold; color: #d4af37; margin-right: 10px; }

/* RPG БАЗА - ГЛОБАЛЬНЫЕ НАСТРОЙКИ */
.rpg-global-info {
    margin-bottom: 30px;
}

.rpg-global-info h3 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 18px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.info-box {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-left: 3px solid #d4af37;
    padding: 12px 15px;
    border-radius: 4px;
    color: #ccc;
    font-size: 13px;
}

.info-box span {
    color: #fff;
    font-weight: bold;
    margin-right: 5px;
}

.info-box.alert {
    border-left-color: #f44336;
}

/* RPG БАЗА - ТАБЛИЦА НАВЫКОВ */
.rpg-table-wrapper {
    overflow-x: auto;
}

.rpg-table {
    width: 100%;
    border-collapse: collapse;
    background: #151515;
    border-radius: 8px;
    overflow: hidden;
    font-size: 13px;
}

.rpg-table th { 
    background: #1a1a1a; 
    padding: 15px; 
    text-align: left; 
    color: #888; 
    border-bottom: 2px solid #222;
    text-transform: uppercase;
}

.rpg-table td { 
    padding: 15px; 
    border-bottom: 1px solid #222; 
    color: #ccc; 
    vertical-align: top;
}

.rpg-table tr:last-child td { border-bottom: none; }
.rpg-table tr:hover { background: rgba(212, 175, 55, 0.05); }

.skill-id { color: #666; font-weight: bold; }
.skill-name { font-weight: bold; color: #fff; font-size: 14px; display: block; margin-bottom: 5px;}
.skill-cost { color: #d4af37; font-weight: bold; white-space: nowrap; }
.skill-max { color: #4caf50; font-weight: bold; }
.skill-desc { color: #aaa; line-height: 1.5; }