/* =========================================
   1. БАЗОВЫЕ НАСТРОЙКИ & ЛЭЙАУТ
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

body {
    background-color: #0f1012; /* Глубокий черный фон */
    color: #ecf0f1;
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    overflow: hidden; /* Скроллится только контент */
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.layout {
    display: flex;
    height: 100%;
    width: 100%;
}

.page-title {
    font-size: 28px;
    margin-bottom: 30px;
    border-left: 5px solid #f1c40f;
    padding-left: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

/* =========================================
   2. САЙДБАР (МЕНЮ)
   ========================================= */
.sidebar {
    width: 260px;
    background: #151618;
    border-right: 1px solid #2a2b30;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    flex-shrink: 0;
    z-index: 100;
}

.brand { margin-bottom: 40px; text-align: center; }
.brand h2 { font-weight: 900; font-size: 28px; color: #fff; margin-bottom: 5px; }
.brand span { color: #f1c40f; font-size: 12px; letter-spacing: 3px; font-weight: bold; }

.menu { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; overflow-y: auto; }

.menu-item {
    color: #7f8c8d;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-item:hover, .menu-item.active {
    background: #1e1f24;
    color: #fff;
    border-left: 3px solid #f1c40f;
}
.menu-item i { width: 20px; text-align: center; color: #f1c40f; }

/* Футер меню (с фиксом для 3D головы) */
.sidebar-footer {
    margin-top: auto;
    border-top: 1px solid #2a2b30;
    padding: 20px;
    padding-top: 40px; /* Отступ чтобы голова не резалась */
    position: relative;
}

.mini-profile { display: flex; align-items: center; gap: 10px; }
/* Сдвигаем канвас немного влево */
canvas#sidebar_head_canvas { margin-left: -5px; cursor: grab; }

.mini-info { display: flex; flex-direction: column; overflow: hidden; }
.mini-info span { display: block; font-weight: bold; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.mini-info a { font-size: 11px; color: #e74c3c; font-weight: 600; }
.mini-info a:hover { text-decoration: underline; }

.btn-sidebar-login {
    display: block; text-align: center; background: #3498db; color: white;
    padding: 12px; border-radius: 6px; font-weight: bold; font-size: 14px;
}
.btn-sidebar-login:hover { background: #2980b9; }

/* =========================================
   3. КОНТЕНТ (ПРАВАЯ ЧАСТЬ)
   ========================================= */
.content {
    flex-grow: 1;
    padding: 40px;
    overflow-y: auto;
    background: #0f1012;
    position: relative;
}

/* --- Главная страница (Hero) --- */
.hero-banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)), url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 40px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid #2a2b30;
}
.hero-banner h1 { font-size: 42px; font-weight: 900; margin-bottom: 15px; text-transform: uppercase; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.hero-banner p { font-size: 16px; color: #ccc; margin-bottom: 30px; }

.btn-hero {
    display: inline-block; padding: 15px 50px; background: #f1c40f; border: none;
    font-weight: 900; cursor: pointer; border-radius: 50px; color: #000;
    text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.3);
}
.btn-hero:hover { transform: scale(1.05); background: #f39c12; }

/* Новости */
.section-title { font-size: 22px; margin-bottom: 25px; color: #7f8c8d; text-transform: uppercase; letter-spacing: 1px; border-bottom: 2px solid #1e1f24; display: inline-block; padding-bottom: 5px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.news-card { background: #1e1f24; padding: 25px; border-radius: 12px; border: 1px solid #2a2b30; transition: 0.3s; }
.news-card:hover { transform: translateY(-5px); border-color: #f1c40f; }
.news-date { font-size: 11px; color: #f1c40f; margin-bottom: 10px; font-weight: bold; }
.news-card h4 { margin-bottom: 10px; font-size: 18px; color: #fff; }
.news-card p { font-size: 14px; color: #aaa; line-height: 1.6; }

/* =========================================
   4. ЛИЧНЫЙ КАБИНЕТ
   ========================================= */
.cabinet-container { max-width: 1000px; margin: 0 auto; }
.cabinet-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.balance span { color: #f1c40f; font-weight: bold; font-size: 20px; }

/* Вкладки */
.tabs-nav { display: flex; gap: 10px; margin-bottom: 30px; border-bottom: 2px solid #2a2b30; padding-bottom: 15px; }
.tab-btn {
    background: transparent; border: none; color: #7f8c8d; font-weight: bold;
    font-size: 15px; padding: 10px 20px; cursor: pointer; border-radius: 6px;
    transition: 0.3s;
}
.tab-btn:hover { color: #fff; background: #1e1f24; }
.tab-btn.active { color: #1a1a1a; background: #f1c40f; }

.tab-content { display: none; animation: fadeIn 0.3s; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Профиль: Шапка */
.profile-header-card { background: #1e1f24; border: 1px solid #2a2b30; border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.profile-cover { height: 200px; background-color: #333; background-size: cover; background-position: center; position: relative; }
.edit-cover-btn { position: absolute; top: 20px; right: 20px; background: rgba(0,0,0,0.6); color: #fff; padding: 8px 12px; border-radius: 6px; cursor: pointer; font-size: 14px; transition: 0.2s; }
.edit-cover-btn:hover { background: rgba(0,0,0,0.8); }

.profile-info-bar { display: flex; align-items: flex-end; padding: 0 30px; margin-top: -60px; position: relative; margin-bottom: 25px; }
.profile-avatar { width: 120px; height: 120px; position: relative; margin-right: 20px; }
.profile-avatar img { width: 100%; height: 100%; border-radius: 12px; border: 5px solid #1e1f24; object-fit: cover; background: #000; }
.edit-avatar-btn { position: absolute; bottom: 5px; right: -5px; background: #3498db; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; cursor: pointer; border: 2px solid #1e1f24; }

.profile-text { padding-bottom: 10px; flex-grow: 1; }
.profile-names { display: flex; align-items: baseline; gap: 10px; margin-bottom: 5px; }
.profile-names h2 { margin: 0; font-size: 26px; color: #fff; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }
.real-name-form input { background: transparent; border: none; border-bottom: 1px dashed #777; color: #ccc; font-size: 14px; width: 150px; }
.real-name-form input:focus { border-color: #f1c40f; color: #fff; }
.profile-badges .mini-badge { background: #3498db; color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; font-weight: bold; margin-right: 5px; text-transform: uppercase; }

.profile-stats-row { display: flex; border-top: 1px solid #2a2b30; padding: 20px; justify-content: space-around; background: #18191d; }
.p-stat { text-align: center; display: flex; flex-direction: column; align-items: center; color: #777; }
.p-stat i { font-size: 22px; margin-bottom: 8px; color: #555; }
.p-stat strong { font-size: 20px; color: #fff; margin-bottom: 2px; }
.p-stat span { font-size: 11px; text-transform: uppercase; }

/* Профиль: Сетка (3D + Настройки) */
.profile-grid { display: flex; gap: 30px; align-items: flex-start; }
.profile-left { flex-shrink: 0; width: 300px; }
.profile-right { flex-grow: 1; display: flex; flex-direction: column; gap: 20px; }

.skin-preview-3d { background: url('img/bg.jpg'); background-size: cover; border-radius: 12px; padding: 0; border: 2px solid #f1c40f; position: relative; width: 300px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
canvas { display: block; }
.viewer-controls { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); padding: 8px 12px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.1); z-index: 10; }
.viewer-controls button { background: transparent; border: none; color: #ccc; font-size: 16px; cursor: pointer; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: 0.3s; }
.viewer-controls button:hover { background: #f1c40f; color: #000; transform: scale(1.1); }

.settings-block { background: #1e1f24; padding: 25px; border-radius: 12px; border: 1px solid #2a2b30; }
.settings-block h3 { font-size: 16px; color: #fff; margin-bottom: 15px; border-bottom: 1px solid #333; padding-bottom: 10px; }
.hint { font-size: 12px; color: #666; margin-bottom: 15px; }

.upload-row { display: flex; gap: 10px; align-items: center; }
.mini-input-file { flex-grow: 1; font-size: 12px; color: #aaa; background: #151618; padding: 8px; border-radius: 5px; border: 1px solid #333; }
.btn-action-mini { background: #3498db; color: white; border: none; padding: 10px 15px; border-radius: 5px; cursor: pointer; font-weight: bold; font-size: 13px; }
.btn-action-mini:hover { background: #2980b9; }

.input-dark { width: 100%; background: #151618; border: 1px solid #333; padding: 12px; color: white; border-radius: 6px; margin-bottom: 10px; font-size: 14px; transition: 0.3s; }
.input-dark:focus { border-color: #3498db; }
.btn-red { background: #e74c3c; width: 100%; }
.btn-red:hover { background: #c0392b; }

/* =========================================
   5. МАГАЗИН И УСЛУГИ
   ========================================= */
.shop-grid, .services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.shop-item, .service-card { background: #1e1f24; padding: 25px; border-radius: 12px; text-align: center; border: 1px solid #2a2b30; transition: 0.3s; display: flex; flex-direction: column; }
.shop-item:hover, .service-card:hover { border-color: #555; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

.shop-item h4 { color: #f1c40f; margin-bottom: 10px; font-size: 18px; }
.price-tag, .serv-price { font-size: 22px; font-weight: 800; margin: 15px 0; color: #fff; margin-top: auto; }
.btn-buy, .btn-service { width: 100%; padding: 12px; background: #27ae60; border: none; color: white; border-radius: 6px; font-weight: bold; cursor: pointer; text-transform: uppercase; font-size: 13px; }
.btn-buy:hover, .btn-service:hover { background: #219150; }

/* Услуги - цветные карточки */
.red-glow { border-bottom: 4px solid #e74c3c; }
.orange-glow { border-bottom: 4px solid #e67e22; }
.blue-glow { border-bottom: 4px solid #3498db; }
.serv-icon { font-size: 36px; margin-bottom: 15px; color: #444; }
.service-input { width: 100%; background: #111; border: 1px solid #444; padding: 10px; border-radius: 5px; color: #fff; margin-bottom: 10px; text-align: center; }

/* =========================================
   6. ФОРУМ
   ========================================= */
.forum-category-wrapper { margin-bottom: 20px; }
.forum-row { display: flex; align-items: center; gap: 20px; background: #1e1f24; padding: 20px; border-radius: 10px; border: 1px solid #2a2b30; cursor: pointer; transition: 0.2s; }
.forum-row:hover { background: #25262c; }
.forum-row.active { border-color: #f1c40f; border-bottom: none; border-radius: 10px 10px 0 0; }
.f-icon { width: 50px; height: 50px; background: #2a2b30; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #f1c40f; }
.f-info { flex-grow: 1; }
.f-info h4 { font-size: 18px; margin-bottom: 5px; color: #fff; }
.f-info p { font-size: 13px; color: #888; }
.f-stats { text-align: center; font-size: 12px; color: #666; }
.f-stats span { display: block; font-size: 18px; font-weight: bold; color: #f1c40f; }
.f-arrow { margin-left: 20px; color: #555; transition: 0.3s; }
.forum-row.active .f-arrow { transform: rotate(180deg); color: #f1c40f; }

.forum-topics-list { background: #151618; border: 1px solid #2a2b30; border-top: none; border-radius: 0 0 10px 10px; padding: 10px 20px; display: none; }
.topic-item { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid #2a2b30; }
.topic-item:last-child { border-bottom: none; }
.topic-icon { color: #3498db; font-size: 20px; }
.topic-title { color: #ecf0f1; font-weight: 600; font-size: 14px; }
.btn-read { background: #2a2b30; color: #ccc; border: 1px solid #444; padding: 6px 15px; border-radius: 4px; cursor: pointer; font-size: 12px; margin-left: auto; transition: 0.2s; }
.btn-read:hover { background: #3498db; color: white; border-color: #3498db; }
.create-topic-btn { text-align: center; padding: 15px 0; border-top: 1px dashed #333; margin-top: 10px; }
.create-topic-btn button { background: transparent; border: 1px dashed #f1c40f; color: #f1c40f; padding: 8px 20px; border-radius: 5px; cursor: pointer; }

/* =========================================
   7. КАБИНЕТ БЛОГЕРА (НОВЫЙ ДИЗАЙН)
   ========================================= */
.blogger-container {
    max-width: 600px; margin: 0 auto;
    background: #151618; border: 1px solid #2a2b30;
    border-radius: 16px; padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    position: relative;
}

.blogger-header h1 { font-size: 32px; font-weight: 900; margin-bottom: 10px; background: linear-gradient(90deg, #fff, #888); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-transform: uppercase; }
.blogger-header p { color: #777; font-size: 14px; margin-bottom: 30px; }

.blogger-warning { background: rgba(243, 156, 18, 0.1); border-left: 4px solid #f39c12; padding: 15px; font-size: 13px; color: #ccc; margin-bottom: 30px; border-radius: 0 8px 8px 0; }
.blogger-warning a { color: #f39c12; font-weight: bold; text-decoration: underline; cursor: pointer; }

/* Кнопки платформ */
.blogger-label { display: block; font-size: 12px; font-weight: bold; color: #777; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; text-align: left; margin-top: 20px; }
.platforms-selector { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.plat-item {
    flex: 1; height: 100px;
    background: #0f1012; border: 2px solid #2a2b30;
    border-radius: 12px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #555;
}
.plat-item i { font-size: 36px; margin-bottom: 8px; transition: 0.3s; }
.plat-item span { font-weight: bold; font-size: 12px; text-transform: uppercase; }

.plat-item:hover { transform: translateY(-5px); border-color: #555; color: #fff; }
.plat-item.active-twitch { border-color: #9146ff; color: #9146ff; background: rgba(145, 70, 255, 0.05); }
.plat-item.active-youtube { border-color: #ff0000; color: #ff0000; background: rgba(255, 0, 0, 0.05); }
.plat-item.active-tiktok { border-color: #ff0050; color: #ff0050; background: rgba(255, 0, 80, 0.05); }

/* Динамические поля */
#dynamic-inputs { margin-bottom: 20px; }
.dynamic-field { display: none; position: relative; margin-bottom: 15px; animation: slideIn 0.3s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.dynamic-field input { padding-left: 45px; }
.dynamic-field .input-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 18px; color: #555; }
#input-Twitch input:focus { border-color: #9146ff; } #input-Twitch .input-icon { color: #9146ff; }
#input-YouTube input:focus { border-color: #ff0000; } #input-YouTube .input-icon { color: #ff0000; }
#input-TikTok input:focus { border-color: #ff0050; } #input-TikTok .input-icon { color: #ff0050; }

/* Поля ввода и кнопка */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.form-group { text-align: left; }
.blogger-input, .modern-input {
    width: 100%; background: #111; border: 1px solid #2a2b30;
    padding: 14px; border-radius: 8px; color: #fff; font-size: 13px; font-family: 'Montserrat', sans-serif;
    transition: 0.3s;
}
.blogger-input:focus, .modern-input:focus { border-color: #8e44ad; }

.btn-purple, .btn-glow {
    width: 100%; padding: 16px;
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
    color: white; border: none; border-radius: 8px;
    font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; transition: 0.3s; margin-top: 25px;
    box-shadow: 0 5px 20px rgba(142, 68, 173, 0.3);
}
.btn-purple:hover, .btn-glow:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(142, 68, 173, 0.5); }

/* Внутри кабинета (Dashboard) */
.dash-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #2a2b30; padding-bottom: 20px; margin-bottom: 30px; }
.dash-header h1 { font-size: 24px; margin: 0; color: #fff; }
.dash-header p { font-size: 12px; color: #777; }
.my-roles { display: flex; gap: 10px; }
.role-icon { width: 40px; height: 40px; background: #111; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.ri-yt { background: #ff0000; } .ri-tw { background: #9146ff; } .ri-tt { background: #ff0050; }

.btn-dash-outline { width: 100%; padding: 10px; background: transparent; border: 1px dashed #555; color: #aaa; border-radius: 6px; cursor: pointer; transition: 0.2s; }
.btn-dash-outline:hover { border-color: #fff; color: #fff; }
.btn-cancel { width: 100%; padding: 10px; background: transparent; border: 1px solid #e74c3c; color: #e74c3c; border-radius: 6px; margin-top: 10px; cursor: pointer; font-weight: bold; }
.btn-cancel:hover { background: #e74c3c; color: white; }
.new-app-wrapper { background: #0f1012; border: 1px solid #2a2b30; padding: 25px; border-radius: 12px; animation: slideDown 0.3s ease; }

.blogger-status-card { text-align: center; padding: 60px 20px; }
.status-icon-box { font-size: 40px; color: #f39c12; margin-bottom: 15px; }
.status-badge { background: #f39c12; color: #000; font-weight: bold; padding: 5px 15px; border-radius: 20px; display: inline-block; margin-top: 15px; font-size: 11px; }

/* =========================================
   8. АДМИН ПАНЕЛЬ
   ========================================= */
.admin-panel-block { background: #1e1f24; padding: 25px; border-radius: 12px; border: 1px solid #2a2b30; margin-bottom: 30px; }
.admin-top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 15px; }
.admin-top-bar h3 { margin: 0; color: #fff; }
.admin-filter { background: #0f1012; color: #fff; border: 1px solid #444; padding: 8px 12px; border-radius: 6px; cursor: pointer; font-family: 'Montserrat', sans-serif; }

.search-wrapper { position: relative; margin-bottom: 20px; }
.search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #666; }
.styled-search { width: 100%; background: #151618; border: 1px solid #333; padding: 12px 12px 12px 45px; border-radius: 8px; color: #fff; font-size: 14px; }
.styled-search:focus { border-color: #f1c40f; }

.admin-table { width: 100%; border-collapse: collapse; color: #ccc; font-size: 14px; }
.admin-table th { text-align: left; padding: 12px; background: #25262c; color: #f1c40f; font-weight: 700; }
.admin-table td { padding: 12px; border-bottom: 1px solid #2a2b30; vertical-align: middle; }
.badge { background: #3498db; color: #fff; padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: bold; margin-right: 3px; display: inline-block; }
.badge-YouTube { background: #ff0000; } .badge-Twitch { background: #9146ff; } .badge-TikTok { background: #ff0050; } .badge-VIP { background: #27ae60; } .badge-ADMIN { background: #e74c3c; }

.btn-mini-save, .btn-mini-ban { width: 30px; height: 30px; border-radius: 5px; border: none; color: #fff; cursor: pointer; margin-left: 5px; display: inline-flex; align-items: center; justify-content: center; transition: 0.2s; }
.btn-mini-save { background: #27ae60; } .btn-mini-save:hover { background: #219150; }
.btn-mini-ban { background: #e74c3c; } .btn-mini-ban:hover { background: #c0392b; }
.balance-input { width: 80px; background: #0f1012; border: 1px solid #444; color: #fff; padding: 6px; border-radius: 4px; font-size: 12px; text-align: center; }

.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 20px; }
.page-link { width: 35px; height: 35px; line-height: 35px; text-align: center; background: #151618; color: #ccc; text-decoration: none; border-radius: 5px; border: 1px solid #333; font-weight: bold; font-size: 13px; }
.page-link.active { background: #f1c40f; color: #000; border-color: #f1c40f; }

/* Карточки заявок (TICKET STYLE) */
.requests-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.req-card { background: #151618; border: 1px solid #2a2b30; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: 0.2s; }
.req-card:hover { transform: translateY(-3px); border-color: #555; }

.req-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 10px; border-bottom: 1px dashed #333; }
.req-user-info { display: flex; gap: 12px; align-items: center; }
.req-user-info img { width: 42px; height: 42px; border-radius: 8px !important; background: #000; }
.req-name-box strong { font-size: 16px; color: #fff; }
.req-date { font-size: 11px; color: #666; margin-top: 2px; }
.req-platforms { display: flex; gap: 6px; }
.social-btn-small { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 6px; color: #fff; font-size: 14px; background: #2a2b30; transition: 0.2s; }
.social-btn-small:hover { transform: scale(1.1); filter: brightness(1.2); }
.btn-YouTube { background: #ff0000; } .btn-Twitch { background: #9146ff; } .btn-TikTok { background: #ff0050; }

.req-details { background: #111; padding: 12px; border-radius: 8px; border: 1px solid #25262c; }
.rd-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.rd-row:last-child { margin-bottom: 0; }
.rd-row span { color: #777; } .rd-row b { color: #ddd; text-align: right; }

.req-actions form { display: flex; gap: 10px; width: 100%; }
.btn-approve-full { flex: 1; padding: 12px 0; border-radius: 6px; font-weight: 800; font-size: 12px; cursor: pointer; text-transform: uppercase; color: white; border: none; background: #27ae60; display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.2s; }
.btn-approve-full:hover { background: #219150; box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3); }
.btn-reject-full { flex: 1; padding: 12px 0; border-radius: 6px; font-weight: 800; font-size: 12px; cursor: pointer; text-transform: uppercase; color: #e74c3c; border: 1px solid #e74c3c; background: transparent; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.btn-reject-full:hover { background: #e74c3c; color: white; }

/* =========================================
   9. ОСТАЛЬНОЕ (ВХОД, МОДАЛКИ)
   ========================================= */
.auth-center { display: flex; justify-content: center; align-items: center; min-height: 80vh; }
.auth-box { width: 400px; background: #1e1f24; padding: 40px; border-radius: 10px; border: 1px solid #2a2b30; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.auth-box h2 { margin-bottom: 20px; color: #fff; }
.auth-box input { width: 100%; background: #0f1012; border: 1px solid #333; padding: 12px; margin-bottom: 15px; color: white; border-radius: 5px; font-family: 'Montserrat', sans-serif; }
.auth-box button { width: 100%; padding: 12px; background: #3498db; border: none; color: white; border-radius: 5px; font-weight: bold; cursor: pointer; font-size: 16px; }
.btn-outline { background: transparent !important; border: 2px solid #3498db !important; color: #3498db !important; margin-top: 10px; }
.sep { border: 0; border-top: 1px solid #333; margin: 25px 0; }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 10000; display: none; justify-content: center; align-items: center; }
.modal-window { background: #1e1f24; width: 400px; border-radius: 10px; border: 1px solid #f1c40f; padding: 30px; text-align: center; position: relative; box-shadow: 0 0 30px rgba(241, 196, 15, 0.2); }
.modal-close { position: absolute; top: 10px; right: 15px; font-size: 24px; color: #777; cursor: pointer; }
.modal-title { color: #f1c40f; font-size: 24px; margin-bottom: 5px; font-weight: 800; }
.modal-price { font-size: 18px; color: #fff; margin-bottom: 20px; font-weight: bold; background: #2a2b30; display: inline-block; padding: 5px 15px; border-radius: 20px; }
.modal-features { text-align: left; margin-bottom: 25px; color: #ccc; background: #151618; padding: 15px; border-radius: 5px; border: 1px solid #333; }
.btn-modal-buy { width: 100%; padding: 15px; background: #27ae60; color: white; border: none; font-weight: 800; border-radius: 5px; cursor: pointer; text-transform: uppercase; }

.alert { background: #e74c3c; color: white; padding: 15px 20px; position: fixed; top: 20px; right: 20px; z-index: 9999; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); min-width: 300px; display: flex; justify-content: space-between; align-items: center; transition: all 0.5s ease; border: 1px solid rgba(255,255,255,0.2); }
.alert.success { background: #27ae60; }
.close-btn { cursor: pointer; font-size: 24px; margin-left: 15px; }