/* GreenGold_TaruhanBola - Sports Betting Dashboard */
/* BG: #0B1120, Primary: #10B981, Secondary: #EAB308, Dark: #0D1B2A */

*, *::before, *::after { box-sizing: border-box; }
body.tbo-body { background: #0B1120; color: #E5E7EB; font-family: 'Segoe UI', system-ui, sans-serif; line-height: 1.6; margin: 0; overflow-x: hidden; font-size: 15px; }
a { color: #10B981; text-decoration: none; transition: all 0.3s; }
a:hover { color: #EAB308; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.d-none { display: none !important; }
.d-lg-flex { display: flex !important; }

/* Mobile Bar */
.tbo-mobile-bar { display: none; position: sticky; top: 0; z-index: 9998; background: rgba(11,17,32,0.97); border-bottom: 2px solid #10B981; padding: 10px 15px; align-items: center; justify-content: space-between; }
.tbo-mobile-bar-logo img { height: 28px; }
.tbo-mobile-bar-toggle { background: none; border: none; cursor: pointer; padding: 4px; display: flex; flex-direction: column; gap: 4px; }
.tbo-toggle-bar { width: 20px; height: 2px; background: #10B981; }
.tbo-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 10002; }
.tbo-overlay.active { display: block; }

/* Sidebar */
.tbo-sidebar { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: #0B1120; border-right: 2px solid #10B981; z-index: 10003; transition: left 0.3s; overflow-y: auto; }
.tbo-sidebar.open { left: 0; }
.tbo-sidebar-top { display: flex; align-items: center; justify-content: space-between; padding: 18px; border-bottom: 1px solid rgba(16,185,129,0.1); }
.tbo-sidebar-logo { height: 36px; display: block; }
.tbo-sidebar-close { background: none; border: none; color: #10B981; font-size: 24px; cursor: pointer; }
.tbo-sidebar-menu { padding: 12px 0; }
.tbo-sidebar-link { display: flex; align-items: center; gap: 10px; padding: 12px 20px; color: #6B7280; font-size: 14px; border-left: 3px solid transparent; transition: all 0.3s; }
.tbo-sidebar-link:hover { background: rgba(16,185,129,0.05); border-left-color: #10B981; color: #10B981; }
.tbo-sidebar-link i { width: 20px; text-align: center; color: #10B981; }
.tbo-sidebar-divider { height: 1px; background: rgba(16,185,129,0.08); margin: 8px 20px; }
.tbo-sidebar-auth { padding: 16px 20px; display: flex; gap: 8px; border-top: 1px solid rgba(16,185,129,0.06); }
.tbo-sidebar-auth .tbo-btn { flex: 1; font-size: 12px; padding: 8px 12px; }
.tbo-sidebar-cta { padding: 12px 20px; }

/* Header */
.tbo-header { position: sticky; top: 0; z-index: 9999; background: rgba(11,17,32,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(16,185,129,0.1); }
.tbo-header-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.tbo-logo img { height: 30px; }
.tbo-nav { display: flex; align-items: center; gap: 2px; }
.tbo-nav-link { color: #6B7280; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 6px; transition: all 0.3s; }
.tbo-nav-link:hover, .tbo-nav-link.tbo-active { color: #FFF; background: rgba(16,185,129,0.1); }
.tbo-header-actions { display: flex; gap: 8px; align-items: center; }
.tbo-dropdown { position: relative; }
.tbo-dropdown-btn { background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.15); color: #10B981; padding: 6px 14px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 600; }
.tbo-dropdown-panel { display: none; position: absolute; top: 100%; right: 0; width: 600px; background: #0D1B2A; border: 1px solid rgba(16,185,129,0.15); border-radius: 10px; padding: 20px; margin-top: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); z-index: 100; }
.tbo-dropdown.open .tbo-dropdown-panel { display: block; }
.tbo-dropdown-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tbo-dropdown-col a { display: block; }
.tbo-dropdown-heading { color: #EAB308; font-size: 13px; font-weight: 700; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid rgba(234,179,8,0.15); }
.tbo-dropdown-item { color: #9CA3AF; font-size: 12px; padding: 4px 0; }
.tbo-dropdown-item:hover { color: #10B981; }

/* Buttons */
.tbo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 18px; border-radius: 6px; font-size: 13px; font-weight: 700; text-decoration: none; transition: all 0.3s; cursor: pointer; border: none; }
.tbo-btn-sm { padding: 6px 14px; font-size: 12px; }
.tbo-btn-block { display: flex; width: 100%; }
.tbo-btn-green { background: linear-gradient(135deg, #10B981, #059669); color: #FFF; }
.tbo-btn-green:hover { background: linear-gradient(135deg, #059669, #047857); color: #FFF; }
.tbo-btn-gold { background: linear-gradient(135deg, #EAB308, #CA8A04); color: #000; }
.tbo-btn-gold:hover { color: #000; box-shadow: 0 0 15px rgba(234,179,8,0.3); }
.tbo-btn-outline { background: transparent; border: 1px solid rgba(16,185,129,0.3); color: #10B981; }
.tbo-btn-outline:hover { background: rgba(16,185,129,0.08); color: #10B981; }

/* Content */
.tbo-content { min-height: 60vh; }

/* Breadcrumb */
.tbo-breadcrumb { padding: 12px 0; font-size: 12px; }
.tbo-breadcrumb .breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; }
.tbo-breadcrumb .breadcrumb-item a { color: #4B5563; }
.tbo-breadcrumb .breadcrumb-item + .breadcrumb-item::before { content: '/'; color: #374151; margin-right: 4px; }

/* Article Grid */
.tbo-article-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; padding-bottom: 40px; }
.tbo-article-main { min-width: 0; }
.tbo-article-sidebar { position: sticky; top: 80px; align-self: start; }
.tbo-article-category { background: rgba(13,27,42,0.5); border: 1px solid rgba(16,185,129,0.08); border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.tbo-article-cat-header { padding: 14px 18px; background: linear-gradient(90deg, rgba(16,185,129,0.06), transparent); border-bottom: 1px solid rgba(16,185,129,0.05); }
.tbo-article-cat-header h3 { color: #FFF; font-size: 15px; font-weight: 800; margin: 0; }

/* Sidebar Widget */
.tbo-sidebar-widget { border: 1px solid rgba(16,185,129,0.08); background: rgba(13,27,42,0.5); border-radius: 8px; margin-bottom: 20px; overflow: hidden; }
.tbo-sidebar-widget-header { padding: 12px 16px; background: linear-gradient(90deg, rgba(16,185,129,0.06), transparent); border-bottom: 1px solid rgba(16,185,129,0.05); }
.tbo-sidebar-widget-header h3 { color: #FFF; font-size: 13px; font-weight: 800; margin: 0; }
.tbo-sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.tbo-sidebar-widget li { padding: 8px 16px; border-bottom: 1px solid rgba(255,255,255,0.02); }
.tbo-sidebar-widget li:last-child { border-bottom: none; }
.tbo-sidebar-widget li a { color: #D1D5DB; font-size: 13px; }
.tbo-sidebar-widget li span { display: block; font-size: 11px; color: #4B5563; margin-top: 2px; }

/* Tags */
.tbo-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px; }
.tbo-tags a { display: inline-block; padding: 4px 10px; background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.1); border-radius: 4px; color: #9CA3AF; font-size: 11px; }
.tbo-tags a:hover { background: rgba(16,185,129,0.12); color: #10B981; }

/* Pagination */
.tbo-pagination { padding: 16px; text-align: center; }
.tbo-pagination a, .tbo-pagination span { display: inline-block; padding: 6px 12px; margin: 2px; border-radius: 4px; font-size: 13px; color: #9CA3AF; border: 1px solid rgba(16,185,129,0.1); }
.tbo-pagination a:hover, .tbo-pagination .current { background: #10B981; color: #FFF; border-color: #10B981; }

/* Detail */
.tbo-detail-header { margin-bottom: 24px; }
.tbo-detail-title { font-size: 24px; font-weight: 800; color: #FFF; margin: 0 0 12px; line-height: 1.3; }
.tbo-detail-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: #4B5563; }
.tbo-detail-meta i { margin-right: 4px; color: #10B981; }
.tbo-detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tbo-detail-tags a { padding: 3px 8px; background: rgba(16,185,129,0.06); border-radius: 4px; color: #10B981; font-size: 11px; }
.tbo-detail-body { font-size: 15px; line-height: 1.8; color: #D1D5DB; }
.tbo-detail-body img { border-radius: 8px; margin: 16px 0; }
.tbo-detail-body h2, .tbo-detail-body h3 { color: #FFF; margin: 24px 0 12px; }
.tbo-detail-body p { margin: 0 0 16px; }
.tbo-page-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; padding: 20px 0; border-top: 1px solid rgba(16,185,129,0.08); border-bottom: 1px solid rgba(16,185,129,0.08); }
.tbo-page-nav-item span { display: block; font-size: 11px; color: #4B5563; margin-bottom: 4px; }
.tbo-page-nav-item a { color: #10B981; font-size: 13px; font-weight: 600; }

/* Tag/Search Headers */
.tbo-tag-header { padding: 24px; background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(234,179,8,0.04)); border: 1px solid rgba(16,185,129,0.1); border-radius: 10px; margin-bottom: 24px; }
.tbo-tag-header h1 { font-size: 22px; font-weight: 800; color: #FFF; margin: 0 0 8px; }
.tbo-tag-header p { color: #9CA3AF; font-size: 13px; margin: 0; }
.tbo-search-header { padding: 24px; background: rgba(16,185,129,0.04); border: 1px solid rgba(16,185,129,0.08); border-radius: 10px; margin-bottom: 24px; }
.tbo-search-header h1 { font-size: 20px; font-weight: 800; color: #FFF; margin: 0 0 8px; }
.tbo-search-header p { color: #9CA3AF; font-size: 13px; margin: 0; }
.tbo-section-header { margin-bottom: 20px; }
.tbo-section-header h2 { font-size: 18px; font-weight: 800; color: #FFF; margin: 0; }
.tbo-section-header p { color: #4B5563; font-size: 14px; margin: 0; }

/* Responsive */
@media (max-width: 991px) {
    .tbo-header-desktop { display: none !important; }
    .tbo-mobile-bar { display: flex !important; }
    .tbo-article-grid { grid-template-columns: 1fr; }
    .tbo-dropdown-panel { width: 300px; }
    .tbo-dropdown-grid { grid-template-columns: 1fr; }
}
@media (min-width: 992px) {
    .tbo-mobile-bar { display: none !important; }
    .tbo-sidebar { display: none; }
}
