/* ===== BASE RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f5f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-width: 1200px;
    color: #333;
} 

/* ===== NAVBAR (Landing Page) ===== */
.navbar {
    background: #ffffff;
    height: 100px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    height: 80px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00d4ff;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(102, 126, 234, 0.75), rgba(118, 75, 162, 0.75)), 
                url('esports-arena-bg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 22px;
    margin-bottom: 40px;
}

/* ===== LOGIN PANEL ===== */
.login-panel {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 8px 8px 16px #b8b9be, -8px -8px 16px #ffffff;
    padding: 40px;
    max-width: 450px;
    margin: -60px auto 60px;
    position: relative;
    z-index: 10;
}

.login-panel h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: #f0f0f0;
    box-shadow: inset 3px 3px 6px #d1d3d8, inset -3px -3px 6px #ffffff;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    background: #ffffff;
}

/* ===== TOMBOL FUTURISTIK ===== */
.btn-futuristic {
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    margin-bottom: 15px;
}

.btn-futuristic:hover {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.7);
    transform: translateY(-2px);
}

.btn-register {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.login-divider {
    text-align: center;
    margin: 20px 0;
    color: #999;
}

.login-link {
    text-align: center;
    margin-top: 20px;
}

.login-link a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: bold;
}

/* ===== SCREENSHOTS ===== */
.screenshots, .testimonials, .features {
    padding: 60px 50px;
    text-align: center;
}

.screenshots h2, .testimonials h2, .features h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.screenshots-grid, .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.screenshot-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 8px 8px 16px #b8b9be, -8px -8px 16px #ffffff;
    padding: 20px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 8px 8px 16px #b8b9be, -8px -8px 16px #ffffff;
    padding: 30px;
    border-left: 4px solid #00d4ff;
}

.testimonial-box p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: bold;
    color: #00d4ff;
    text-align: right;
}

.stars {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 20px;
}

/* ===== FITUR (Papan Jati) ===== */
.feature-box {
    background: #8B4513;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    border: 2px solid #00d4ff;
}

.feature-box h3, .feature-box p {
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.feature-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

/* ===== FOOTER ===== */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 50px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.copyright {
    margin-top: 20px;
    color: #95a5a6;
}

/* ============================================ */
/* ===== DASHBOARD STYLES ===== */
/* ============================================ */

.dashboard-body {
    background: #e8ecf1;
}

/* Top Navbar Dashboard */
.top-navbar {
    background: #ffffff;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-logo {
    height: 50px;
}

.search-box input {
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    background: #f0f0f0;
    width: 300px;
    box-shadow: inset 2px 2px 4px #d1d3d8;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-badge {
    background: #f0f0f0;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 3px 3px 6px #d1d3d8, -3px -3px 6px #ffffff;
}

.stat-badge.notif { background: #fff3cd; }
.stat-badge.task { background: #d4edda; }
.stat-badge.message { background: #d1ecf1; }

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #00d4ff;
}

/* Dashboard Wrapper */
.dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 70px);
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: #ffffff;
    padding: 20px;
    box-shadow: 4px 0 8px rgba(0,0,0,0.05);
}

.team-info-panel {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: inset 2px 2px 4px #d1d3d8, inset -2px -2px 4px #ffffff;
}

.team-logo {
    font-size: 40px;
    text-align: center;
    margin-bottom: 10px;
}

.team-name {
    text-align: center;
    font-size: 18px;
    color: #00d4ff;
    margin-bottom: 5px;
}

.team-rank {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.pop-bar, .moral-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin: 5px 0;
}

.pop-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #0099ff);
}

.moral-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
}

.team-stats {
    margin: 15px 0;
    font-size: 13px;
}

.stat-row {
    padding: 5px 0;
    border-bottom: 1px solid #e0e0e0;
}

.btn-pendanaan {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

/* Sidebar Menu */
.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-item {
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 3px 3px 6px #d1d3d8, -3px -3px 6px #ffffff;
}

.menu-item:hover {
    background: #f0f0f0;
    color: #00d4ff;
}

.menu-item.active {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: white;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 3px 3px 6px #d1d3d8, -3px -3px 6px #ffffff;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px 30px;
    overflow-x: auto;
}

.info-bar {
    background: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    box-shadow: 3px 3px 6px #d1d3d8, -3px -3px 6px #ffffff;
}

/* Top Panels */
.top-panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.panel {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
}

.panel.raised {
    box-shadow: 6px 6px 12px #c8c9ce, -6px -6px 12px #ffffff;
}

.panel h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
}

.match-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
}

.match-result .score {
    font-weight: bold;
    font-size: 20px;
    color: #00d4ff;
}

.match-info {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.competition-info {
    font-size: 14px;
}

.badge {
    background: #00d4ff;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 25px;
    border: none;
    background: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 3px 3px 6px #d1d3d8, -3px -3px 6px #ffffff;
}

.tab-btn.active {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: white;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

/* Content Grid */
.content-grid, .transfer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.panel h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

/* Tables */
.match-table, .transfer-table, .forum-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 6px;
    font-weight: bold;
    font-size: 13px;
}

.transfer-table .table-header {
    grid-template-columns: 0.5fr 1fr 1fr 0.8fr;
}

.transfer-table .table-header:nth-child(1) {
    grid-template-columns: 0.5fr 1fr 0.8fr 0.8fr;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    transition: background 0.2s;
}

.table-row:hover {
    background: #f8f9fa;
}

.transfer-table .table-row {
    grid-template-columns: 0.5fr 1fr 1fr 0.8fr;
}

.pos {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 11px;
    color: white;
}

.pos.gt { background: #dc3545; }
.pos.p { background: #28a745; }
.pos.bka { background: #ffc107; color: #333; }
.pos.bt { background: #17a2b8; }
.pos.gka { background: #6c757d; }
.pos.bki { background: #fd7e14; }
.pos.gki { background: #6f42c1; }
.pos.gtka { background: #20c997; }
.pos.k { background: #343a40; }

.bid {
    font-weight: bold;
    color: #28a745;
}

/* Forum */
.forum-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 13px;
}

.forum-topic {
    flex: 1;
}

.forum-time {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
}

/* Wood Panel (Papan Jati) */
.wood-panel {
    background: #8B4513;
    background-image: 
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    border: 2px solid #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    color: white;
}

.wood-panel h3 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.wood-panel p {
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin-bottom: 15px;
    line-height: 1.6;
}

.penawaran-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
    font-size: 14px;
}

.btn-ayo {
    width: auto;
    padding: 10px 30px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
}
/* ===== HALAMAN PEMAIN ===== */

.action-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
    width: auto;
    margin-bottom: 0;
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d, #495057);
    box-shadow: 0 0 20px rgba(108, 117, 125, 0.5);
}

.btn-secondary:hover {
    box-shadow: 0 0 30px rgba(108, 117, 125, 0.7);
}

.btn-logout {
    margin-left: 10px;
    padding: 5px 12px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn-logout:hover {
    background: #ee5a6f;
}

/* Roster Grid */
.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.player-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 6px 6px 12px #c8c9ce, -6px -6px 12px #ffffff;
    transition: all 0.3s;
    cursor: pointer;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 16px #b8b9be, -8px -8px 16px #ffffff;
}

.player-avatar-wrapper {
    position: relative;
    text-align: center;
    margin-bottom: 15px;
}

.player-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    background: #f0f0f0;
}

.player-role-badge {
    position: absolute;
    bottom: 5px;
    right: 50%;
    transform: translateX(50%);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
    color: white;
}

.player-role-badge.carry { background: linear-gradient(135deg, #ff6b6b, #ee5a6f); }
.player-role-badge.support { background: linear-gradient(135deg, #28a745, #20c997); }
.player-role-badge.tank { background: linear-gradient(135deg, #6c757d, #495057); }

.player-info {
    text-align: center;
}

.player-name {
    font-size: 20px;
    margin-bottom: 5px;
    color: #333;
}

.player-position {
    color: #00d4ff;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
}

.player-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.player-stats-mini {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.stat-mini {
    display: grid;
    grid-template-columns: 40px 1fr 30px;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.stat-label {
    font-weight: bold;
    color: #666;
}

.stat-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #0099ff);
    border-radius: 3px;
}

.stat-value {
    font-weight: bold;
    color: #00d4ff;
}

.player-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.player-rating {
    font-weight: bold;
    color: #ffd700;
}

.btn-detail {
    padding: 5px 15px;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
}

.btn-detail:hover {
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    overflow-y: auto;
}

.modal-content {
    background: white;
    margin: 50px auto;
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: #ff6b6b;
}

.player-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.player-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #00d4ff;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.5);
}

.player-detail-header h2 {
    margin-bottom: 5px;
    color: #333;
}

.player-position-large {
    color: #00d4ff;
    font-weight: bold;
    margin-bottom: 5px;
}

.player-stats-detail, .player-contract-info {
    margin-bottom: 25px;
}

.player-stats-detail h3, .player-contract-info h3 {
    margin-bottom: 15px;
    color: #333;
}

.stat-detail-row {
    display: grid;
    grid-template-columns: 100px 1fr 80px;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.stat-bar-large {
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.stat-bar-large .stat-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #0099ff);
}

.contract-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contract-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.contract-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.contract-value {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #00d4ff;
}

.player-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
/* ===== HALAMAN PERTANDINGAN ===== */

.tab-content {
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.match-preview {
    margin-bottom: 20px;
}

.match-vs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    margin: 20px 0;
}

.team-side {
    text-align: center;
}

.team-logo-big {
    font-size: 60px;
    margin-bottom: 10px;
}

.team-side h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.vs-center {
    text-align: center;
}

.vs-text {
    font-size: 48px;
    font-weight: 900;
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    margin-bottom: 10px;
}

.match-timer {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 15px;
}

.tactic-setup {
    margin-top: 20px;
}

.tactic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.tactic-option label {
    display: block;
    color: white;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
}

.tactic-option select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

/* Schedule */
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.schedule-item {
    display: grid;
    grid-template-columns: 100px 1fr 150px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #00d4ff;
    align-items: center;
}

.schedule-item.away {
    border-left-color: #ff6b6b;
}

.schedule-day {
    font-weight: bold;
    color: #00d4ff;
}

.schedule-opponent {
    font-size: 16px;
}

.schedule-time {
    text-align: right;
    color: #666;
}

/* Standings Table */
.standings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.standings-table th,
.standings-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.standings-table th {
    background: #f0f0f0;
    font-weight: bold;
}

.standings-table tr.my-team {
    background: #e3f2fd;
    font-weight: bold;
}

.standings-table tr:hover {
    background: #f8f9fa;
}

/* Match Result Modal */
.match-result-modal {
    max-width: 700px;
}

.result-header {
    color: white;
    padding: 30px;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

.result-header h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.result-score {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    padding: 30px;
    background: #f8f9fa;
}

.score-team {
    text-align: center;
}

.score-number {
    font-size: 48px;
    font-weight: 900;
    color: #00d4ff;
}

.score-vs {
    font-size: 36px;
    font-weight: bold;
    color: #999;
}

.maps-result, .match-highlights {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.maps-result h3, .match-highlights h3 {
    margin-bottom: 15px;
}

.map-result {
    display: grid;
    grid-template-columns: 80px 1fr 1fr 100px;
    gap: 15px;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    background: #f8f9fa;
}

.map-result.win {
    border-left: 4px solid #28a745;
}

.map-result.lose {
    border-left: 4px solid #dc3545;
}

.highlight-item {
    display: flex;
    gap: 15px;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 6px;
    background: #f8f9fa;
}

.highlight-item.good {
    border-left: 4px solid #28a745;
}

.highlight-item.bad {
    border-left: 4px solid #dc3545;
}

.highlight-map {
    font-weight: bold;
    color: #00d4ff;
    min-width: 60px;
}

.match-reward {
    margin: 20px 0;
    text-align: center;
}

.match-reward p {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
}

/* History */
.history-item {
    display: grid;
    grid-template-columns: 100px 1fr 100px 100px;
    gap: 15px;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #f8f9fa;
    align-items: center;
}

.history-item.win {
    border-left: 4px solid #28a745;
}

.history-item.lose {
    border-left: 4px solid #dc3545;
}

.history-result {
    font-weight: bold;
}

.history-score {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.history-date {
    text-align: right;
    color: #666;
    font-size: 13px;
}
/* ===== LIVE MATCH SIMULATION ===== */

.live-match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    border-radius: 8px;
    margin-bottom: 20px;
    color: white;
}

.map-indicator {
    font-size: 20px;
    font-weight: bold;
}

.map-score {
    font-size: 24px;
    font-weight: 900;
}

.live-timer {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #00d4ff;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #0099ff);
    width: 0%;
    transition: width 0.1s;
}

.live-score {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    align-items: center;
}

.live-score-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.live-score-item .team-name {
    font-weight: bold;
    font-size: 16px;
}

.live-score-item .score-value {
    font-size: 36px;
    font-weight: 900;
    color: #00d4ff;
}

.live-score-item .score-label {
    font-size: 12px;
    color: #666;
    font-weight: bold;
}

.live-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.stat-item {
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    gap: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    align-items: center;
}

.stat-item .positive {
    color: #28a745;
    font-weight: bold;
}

.stat-item .negative {
    color: #dc3545;
    font-weight: bold;
}

.live-commentary {
    max-height: 400px;
    overflow-y: auto;
    background: #1a1a1a;
    border-radius: 8px;
    padding: 15px;
    color: white;
    font-family: 'Courier New', monospace;
}

.commentary-item {
    padding: 8px;
    margin-bottom: 5px;
    border-left: 3px solid #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 4px;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.commentary-item.kill {
    border-left-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.commentary-item.objective {
    border-left-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.commentary-item.teamfight {
    border-left-color: #ff00ff;
    background: rgba(255, 0, 255, 0.1);
}

.commentary-time {
    color: #00d4ff;
    font-weight: bold;
    margin-right: 10px;
}

/* Map Result Modal */
.map-result-display {
    text-align: center;
    padding: 20px;
}

.map-result-display h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.map-result-display h2.victory {
    color: #28a745;
}

.map-result-display h2.defeat {
    color: #dc3545;
}

.map-score {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 24px;
    margin: 20px 0;
}

.map-score .score {
    font-size: 36px;
    font-weight: 900;
    color: #00d4ff;
}

.map-stats {
    margin: 20px 0;
    font-size: 16px;
}

.map-stats p {
    margin: 10px 0;
}

.map-score-update {
    margin: 20px 0;
    font-size: 20px;
}

.map-score-update p {
    color: #00d4ff;
}
/* ===== MLBB STYLE MINI MAP ===== */
.mlbb-minimap {
    position: relative;
    width: 100%;
    height: 250px;
    background: #1a261a; /* Warna jungle gelap */
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #00d4ff;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

/* Lanes (Jalur) */
.lane {
    position: absolute;
    background: #2d4a2d; /* Warna lane lebih terang */
    height: 16px;
    border-radius: 8px;
}
.lane-top { top: 20%; left: 10%; width: 80%; }
.lane-bot { top: 80%; left: 10%; width: 80%; }
.lane-mid { 
    top: 50%; left: 10%; width: 80%; 
    transform: translateY(-50%) rotate(-45deg); 
    transform-origin: center;
    width: 113%; /* Diagonal lebih panjang */
}

/* Bases (Markas) */
.base {
    position: absolute;
    font-size: 24px;
    z-index: 5;
}
.base-ally { bottom: 5%; left: 5%; filter: drop-shadow(0 0 5px #00d4ff); }
.base-enemy { top: 5%; right: 5%; filter: drop-shadow(0 0 5px #ff4757); transform: rotate(180deg); }

/* Turrets */
.turret {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ffd700;
    border-radius: 2px;
    border: 1px solid #fff;
    z-index: 4;
    box-shadow: 0 0 5px #ffd700;
}
.turret.enemy { background: #ff4757; box-shadow: 0 0 5px #ff4757; }

/* Heroes */
.hero-marker {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: white;
    z-index: 10;
    transition: all 1s linear; /* Animasi jalan smooth */
    border: 2px solid white;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
}
.hero-ally { 
    background: #00d4ff; 
    box-shadow: 0 0 10px #00d4ff;
}
.hero-enemy { 
    background: #ff4757; 
    box-shadow: 0 0 10px #ff4757;
}
/* ===== HALAMAN TAKTIK ===== */

.info-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Formation Field */
.formation-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.formation-field {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1e3c1e, #2d5a2d);
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.field-base {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.field-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.line-mid {
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%);
}

.line-top {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(255,255,255,0.2);
}

.line-bot {
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(255,255,255,0.2);
}

.position-slot {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.position-slot:hover {
    transform: scale(1.1);
}

.position-slot[data-pos="top"] { top: 10%; left: 50%; transform: translateX(-50%); }
.position-slot[data-pos="jungle"] { top: 40%; left: 30%; }
.position-slot[data-pos="mid"] { top: 45%; left: 50%; transform: translateX(-50%); }
.position-slot[data-pos="adc"] { top: 75%; left: 35%; }
.position-slot[data-pos="support"] { top: 75%; left: 65%; }

.slot-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid #00d4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    overflow: hidden;
}

.slot-circle.filled {
    border-color: #28a745;
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.6);
}

.slot-icon {
    font-size: 24px;
}

.slot-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slot-label {
    margin-top: 5px;
    color: white;
    font-weight: bold;
    font-size: 12px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.5);
    padding: 2px 8px;
    border-radius: 10px;
}

.formation-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

.formation-info h4 {
    margin-bottom: 15px;
    color: #00d4ff;
}

.roster-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.roster-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #00d4ff;
}

.roster-pos {
    font-weight: bold;
    color: #00d4ff;
}

.roster-player {
    font-weight: 600;
}

/* Sliders */
.slider-group {
    margin-bottom: 25px;
}

.slider-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}

.slider-container {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    gap: 15px;
    align-items: center;
}

.slider-container input[type="range"] {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: linear-gradient(90deg, #00d4ff, #0099ff);
    border-radius: 4px;
    outline: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #00d4ff;
    border-radius: 50%;
    cursor: pointer;
}

.slider-value {
    margin-top: 8px;
    text-align: center;
    font-weight: bold;
    color: #00d4ff;
}

/* Objectives */
.objective-priority {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-item:hover {
    background: #e9ecef;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Player Instructions */
.instruction-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #00d4ff;
}

.instruction-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.instruction-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #00d4ff;
}

.instruction-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.instruction-options label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
}

.instruction-options select {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* Preset Grid */
.preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.preset-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.preset-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.preset-card.custom {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: white;
}

.preset-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 10px;
}

.preset-card h4 {
    text-align: center;
    margin-bottom: 10px;
}

.preset-card p {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.preset-card.custom p {
    color: rgba(255,255,255,0.9);
}

.preset-stats {
    display: flex;
    justify-content: space-around;
    font-size: 12px;
    font-weight: bold;
    color: #00d4ff;
}

.preset-card.custom .preset-stats {
    color: white;
}

/* Synergy Panel */
.synergy-panel {
    margin-top: 20px;
}

.synergy-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.synergy-meter {
    flex: 1;
    height: 25px;
    background: #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.synergy-fill {
    height: 100%;
    background: linear-gradient(90deg, #dc3545, #ffc107, #28a745);
    transition: width 0.5s;
    border-radius: 12px;
}

.synergy-value {
    font-size: 24px;
    font-weight: 900;
    color: #00d4ff;
    min-width: 80px;
    text-align: right;
}

.synergy-breakdown {
    margin: 20px 0;
}

.breakdown-item {
    display: grid;
    grid-template-columns: 150px 1fr 80px;
    gap: 15px;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.breakdown-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.breakdown-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #0099ff);
}

/* Player Picker Modal */
.picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.picker-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    position: relative;
}

.picker-card:hover:not(.disabled) {
    border-color: #00d4ff;
    transform: translateY(-3px);
}

.picker-card.selected {
    border-color: #28a745;
    background: #e8f5e9;
}

.picker-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.picker-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #00d4ff;
    object-fit: cover;
}

.picker-info h4 {
    margin-bottom: 3px;
    font-size: 16px;
}

.picker-info p {
    font-size: 12px;
    color: #666;
    margin: 2px 0;
}

.picker-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
}

.picker-badge.used {
    background: #dc3545;
}
/* ===== HALAMAN LATIHAN ===== */

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.player-training-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #00d4ff;
}

.player-training-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.training-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #00d4ff;
    object-fit: cover;
}

.player-training-info h4 {
    margin-bottom: 3px;
    font-size: 18px;
}

.player-training-info p {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.energy-bar-container {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.energy-bar {
    height: 100%;
    transition: width 0.3s;
    border-radius: 4px;
}

.energy-text {
    font-size: 11px;
    font-weight: bold;
    color: #666;
}

.training-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.btn-training {
    padding: 10px;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-training:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.btn-training:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-training.restore {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.player-stats-mini {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.stat-mini {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 10px;
    color: #999;
    margin-bottom: 3px;
}

.stat-value {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #00d4ff;
}

/* Team Training */
.team-training-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.training-program-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.training-program-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.program-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 10px;
}

.training-program-card h4 {
    text-align: center;
    margin-bottom: 10px;
}

.training-program-card p {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.program-stats {
    display: flex;
    justify-content: space-around;
    font-size: 12px;
    font-weight: bold;
    color: #00d4ff;
}

/* Schedule */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.day-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.day-card h4 {
    margin-bottom: 10px;
    color: #00d4ff;
}

.day-card select {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 13px;
}

/* Training Modal */
.training-modal {
    max-width: 600px;
}

.training-result-display {
    text-align: center;
}

.result-header {
    color: white;
    padding: 30px;
    border-radius: 12px 12px 0 0;
}

.result-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.result-content {
    padding: 30px;
}

.result-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #00d4ff;
    margin-bottom: 15px;
}

.result-content h2 {
    margin-bottom: 15px;
}

.result-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.result-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.stat-change {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-change span:first-child {
    font-size: 12px;
    color: #999;
}

.stat-change span:last-child {
    font-size: 24px;
    font-weight: 900;
    color: #00d4ff;
}

.energy-update {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.energy-value {
    font-weight: bold;
    color: #28a745;
}

/* Team Results */
.team-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.summary-stat {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.summary-value {
    font-size: 36px;
    font-weight: 900;
    color: #00d4ff;
}

.summary-label {
    font-size: 14px;
    color: #666;
}

.team-results-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-radius: 8px;
    background: #f8f9fa;
}

.team-result-item.success {
    border-left: 4px solid #28a745;
}

.team-result-item.fail {
    border-left: 4px solid #dc3545;
}

/* Weekly Results */
.weekly-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.weekly-day-result {
    display: grid;
    grid-template-columns: 100px 1fr 150px;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    align-items: center;
}

.day-name {
    font-weight: bold;
    color: #00d4ff;
}

.day-program {
    font-size: 14px;
}

.day-success {
    text-align: right;
    font-weight: bold;
    color: #28a745;
}
/* ===== HALAMAN TRANSFER MARKET ===== */

.market-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.market-filters select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: white;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.transfer-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.transfer-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.transfer-card.my-player {
    border-left: 4px solid #28a745;
}

.transfer-card-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.transfer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #00d4ff;
    object-fit: cover;
}

.transfer-info h4 {
    margin-bottom: 3px;
    font-size: 16px;
}

.transfer-pos {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.transfer-rating {
    font-weight: bold;
    color: #ffd700;
    font-size: 14px;
}

.transfer-stats-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.transfer-stats-mini div {
    text-align: center;
    font-size: 12px;
}

.transfer-stats-mini span {
    display: block;
    color: #999;
    font-size: 10px;
}

.transfer-stats-mini strong {
    color: #00d4ff;
    font-size: 14px;
}

.transfer-price {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.transfer-price.sell-price {
    color: #28a745;
}

.btn-buy, .btn-sell {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-buy {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: white;
}

.btn-buy:hover {
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.btn-sell {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.btn-sell:hover {
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

/* Modal Konfirmasi */
.transfer-confirm {
    text-align: center;
    padding: 20px;
}

.transfer-confirm h3 {
    margin-bottom: 20px;
    color: #333;
}

.confirm-player {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.confirm-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #00d4ff;
    object-fit: cover;
}

.confirm-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.detail-row .price {
    font-weight: bold;
    color: #dc3545;
}

.detail-row .price.positive {
    color: #28a745;
}

.warning-text {
    color: #ffc107;
    font-size: 13px;
    margin-top: 15px;
}

.confirm-actions {
    display: flex;
    gap: 15px;
}

.btn-cancel {
    flex: 1;
    padding: 12px;
    background: #e0e0e0;
    color: #333;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.btn-cancel:hover {
    background: #d0d0d0;
}

/* History */
.history-item-transfer {
    display: grid;
    grid-template-columns: 50px 1fr 150px;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #00d4ff;
}

.history-item-transfer.sell {
    border-left-color: #28a745;
}

.history-icon {
    font-size: 24px;
    text-align: center;
}

.history-info strong {
    display: block;
    margin-bottom: 3px;
}

.history-date {
    font-size: 12px;
    color: #999;
}

.history-amount {
    text-align: right;
    font-weight: bold;
    font-size: 16px;
}

.history-amount.positive {
    color: #28a745;
}

.history-amount.negative {
    color: #dc3545;
}
/* ===== HALAMAN AKADEMI MUDA ===== */

.scout-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.scout-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.scout-stat {
    text-align: center;
}

.scout-stat .stat-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.scout-stat .stat-value {
    display: block;
    font-size: 20px;
    font-weight: 900;
    color: #00d4ff;
}

.btn-large {
    padding: 15px 40px;
    font-size: 16px;
}

.scouted-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.young-player-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.young-player-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.player-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.young-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #00d4ff;
    object-fit: cover;
}

.player-info h4 {
    margin-bottom: 3px;
    font-size: 16px;
}

.player-age {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.potential-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    color: white;
}

.player-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.player-stats .stat-item {
    text-align: center;
}

.player-stats .stat-item span {
    display: block;
    font-size: 10px;
    color: #999;
}

.player-stats .stat-item strong {
    display: block;
    font-size: 14px;
    color: #00d4ff;
}

.player-price {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
}

.btn-recruit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-recruit:hover {
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

/* Academy Upgrade */
.academy-upgrade {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.upgrade-current, .upgrade-next {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.upgrade-next {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: white;
}

.upgrade-current h4, .upgrade-next h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.level-display {
    margin-bottom: 20px;
}

.level-number {
    display: block;
    font-size: 72px;
    font-weight: 900;
    color: #00d4ff;
    line-height: 1;
}

.level-number.next {
    color: white;
}

.level-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.upgrade-next .level-label {
    color: rgba(255,255,255,0.9);
}

.level-benefits {
    text-align: left;
    margin-bottom: 20px;
}

.level-benefits p {
    margin-bottom: 10px;
    font-size: 14px;
}

.upgrade-next .level-benefits p {
    color: white;
}

.upgrade-next .btn-futuristic {
    background: white;
    color: #00d4ff;
}

/* Recruit Modal */
.recruit-confirm {
    text-align: center;
    padding: 20px;
}

.recruit-confirm h3 {
    margin-bottom: 20px;
}

.potential-display {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 15px;
    font-weight: bold;
    color: white;
    margin-top: 10px;
}

/* Academy History */
.history-item-academy {
    display: grid;
    grid-template-columns: 1fr 100px 150px;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #00d4ff;
}

.history-info strong {
    display: block;
    margin-bottom: 3px;
}

.history-pos {
    font-size: 12px;
    color: #666;
    margin-right: 10px;
}

.history-date {
    font-size: 12px;
    color: #999;
}

.history-potential {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    text-align: center;
}

.history-price {
    text-align: right;
    font-weight: bold;
    color: #00d4ff;
}
/* ===== HALAMAN KANTOR ===== */

.finance-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.finance-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-left: 5px solid #ccc;
}

.finance-card.balance { border-left-color: #00d4ff; }
.finance-card.income { border-left-color: #28a745; }
.finance-card.expense { border-left-color: #dc3545; }
.finance-card.profit { border-left-color: #6f42c1; }

.finance-icon {
    font-size: 32px;
}

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

.finance-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.finance-value {
    font-size: 20px;
    font-weight: 900;
    color: #333;
}

.finance-actions {
    text-align: center;
    margin-top: 30px;
}

/* Sponsor */
.sponsor-limit-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    margin-bottom: 20px;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.sponsor-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.sponsor-card.active {
    border-color: #28a745;
    background: #f0fff4;
}

.sponsor-card.locked {
    opacity: 0.6;
    background: #f8f9fa;
}

.sponsor-logo {
    font-size: 48px;
    margin-bottom: 10px;
}

.sponsor-card h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.sponsor-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    min-height: 32px;
}

.sponsor-income {
    font-weight: bold;
    color: #28a745;
    margin-bottom: 15px;
    font-size: 14px;
}

.sponsor-req {
    color: #dc3545;
    font-size: 12px;
    margin-bottom: 15px;
    font-weight: bold;
}

.btn-sign, .btn-fire {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-sign {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.btn-sign:hover:not(:disabled) {
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.btn-sign:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-fire {
    background: #dc3545;
    color: white;
}

.btn-fire:hover {
    background: #c82333;
}

/* Fasilitas */
.facility-current {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.facility-icon-large {
    font-size: 72px;
    margin-bottom: 10px;
}

.facility-current h2 {
    margin-bottom: 5px;
    color: #00d4ff;
}

.facility-stats {
    margin-top: 20px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.facility-stats p {
    margin-bottom: 10px;
    font-size: 16px;
}

.facility-upgrade-box {
    background: white;
    border: 2px solid #00d4ff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.facility-upgrade-box h3 {
    margin-bottom: 20px;
    color: #00d4ff;
}

.upgrade-details {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.upgrade-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.upgrade-item span {
    font-size: 12px;
    color: #666;
}

.upgrade-item strong {
    font-size: 18px;
    color: #333;
}

.upgrade-item .price {
    color: #dc3545;
}
/* ===== HALAMAN TIM TEKNIS ===== */

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.staff-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 2px solid transparent;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.staff-card.hired {
    border-left: 5px solid #28a745;
}

.staff-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.staff-icon {
    font-size: 40px;
    background: #f8f9fa;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.staff-info h4 {
    margin-bottom: 3px;
    font-size: 16px;
}

.staff-role {
    font-size: 12px;
    color: #666;
    margin-bottom: 0;
}

.staff-desc {
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
    min-height: 40px;
}

.staff-level {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: bold;
    color: #666;
}

.level-dots {
    display: flex;
    gap: 5px;
}

.level-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
}

.level-dots .dot.active {
    background: #00d4ff;
    box-shadow: 0 0 5px #00d4ff;
}

.staff-action {
    margin-top: auto;
}

.btn-hire, .btn-maxed {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-hire {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: white;
}

.btn-hire:hover {
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.btn-maxed {
    background: #e0e0e0;
    color: #666;
    cursor: not-allowed;
}

/* Bonus Summary */
.bonus-summary {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.bonus-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #00d4ff;
}

.bonus-item span:first-child {
    font-weight: bold;
    color: #333;
}

.bonus-val {
    font-weight: 900;
    color: #28a745;
}

/* Modal Staff */
.staff-confirm {
    text-align: center;
    padding: 20px;
}

.confirm-staff {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.confirm-icon {
    font-size: 60px;
    background: #f8f9fa;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}
/* ===== HALAMAN STADION ===== */

.stadion-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 20px;
}

.stadion-art {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
}

.art-building {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.art-building.small .art-roof { font-size: 48px; }
.art-building.small .art-body { font-size: 36px; }

.art-building.medium .art-roof { font-size: 64px; }
.art-building.medium .art-body { font-size: 48px; }
.art-building.medium .art-crowd { font-size: 24px; }

.art-building.large .art-roof { font-size: 80px; }
.art-building.large .art-body { font-size: 60px; }
.art-building.large .art-crowd { font-size: 32px; }
.art-building.large .art-lights { font-size: 28px; }

.art-building.xlarge .art-roof { font-size: 96px; }
.art-building.xlarge .art-body { font-size: 72px; }
.art-building.xlarge .art-crowd { font-size: 40px; }
.art-building.xlarge .art-lights { font-size: 36px; }
.art-building.xlarge .art-flag { font-size: 32px; }

.stadion-info-panel {
    text-align: center;
}

.stadion-info-panel h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #00d4ff;
}

.stadion-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-icon {
    font-size: 32px;
}

.stat-value {
    font-size: 24px;
    font-weight: 900;
    color: #00d4ff;
}

.stat-label {
    font-size: 12px;
    color: #666;
}

/* Upgrade Stages */
.upgrade-stages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stage-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.stage-card.completed {
    border-color: #28a745;
    background: #f0fff4;
}

.stage-card.current {
    border-color: #00d4ff;
    background: #f0f9ff;
    transform: scale(1.05);
}

.stage-card.locked {
    opacity: 0.6;
    background: #f8f9fa;
}

.stage-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #00d4ff;
    color: white;
    font-size: 24px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.stage-card.completed .stage-number {
    background: #28a745;
}

.stage-card.locked .stage-number {
    background: #999;
}

.stage-card h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.stage-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.stage-status {
    margin: 15px 0;
    font-weight: bold;
    font-size: 14px;
}

.btn-upgrade {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-upgrade:hover:not(:disabled) {
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.btn-upgrade:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Income */
.income-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.income-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-left: 5px solid #00d4ff;
}

.income-icon {
    font-size: 32px;
}

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

.income-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.income-value {
    font-size: 20px;
    font-weight: 900;
    color: #00d4ff;
}

.income-actions {
    text-align: center;
    margin-top: 30px;
}
/* ===== ADMIN DASHBOARD THEME ===== */
.admin-theme {
    background-color: #0f172a; /* Dark blue/slate background */
}

.admin-navbar {
    background: linear-gradient(90deg, #1e1b4b, #312e81);
    border-bottom: 2px solid #fbbf24; /* Gold border */
}

.admin-badge {
    background: #fbbf24;
    color: #1e1b4b;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 900;
    font-size: 14px;
    margin-left: 15px;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.admin-sidebar {
    background: #1e293b;
    border-right: 1px solid #334155;
}

.admin-sidebar .menu-item {
    color: #cbd5e1;
}

.admin-sidebar .menu-item:hover, .admin-sidebar .menu-item.active {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border-left-color: #fbbf24;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.admin-stat-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-stat-card .stat-icon {
    font-size: 36px;
    background: rgba(251, 191, 36, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.admin-stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.admin-stat-card .stat-label {
    font-size: 12px;
    color: #94a3b8;
}

.admin-stat-card .stat-value {
    font-size: 24px;
    font-weight: 900;
    color: #fbbf24;
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    color: #cbd5e1;
}

.admin-table th, .admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #334155;
}

.admin-table th {
    background: #0f172a;
    color: #fbbf24;
    font-weight: bold;
}

.role-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.role-badge.admin {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.role-badge.user {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
}

.btn-small-danger {
    padding: 5px 10px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}

/* Admin Forms & Danger Zone */
.admin-form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 15px;
    margin-top: 20px;
}

.admin-form-grid input, .admin-form-grid select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #334155;
    background: #0f172a;
    color: white;
}

.danger-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.danger-card {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid #ef4444;
    border-radius: 12px;
    padding: 20px;
}

.danger-card h4 {
    color: #ef4444;
    margin-bottom: 10px;
}

.danger-card p {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 15px;
}

.btn-danger {
    padding: 10px 20px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.btn-danger.nuke {
    background: #7f1d1d;
    border: 1px solid #ef4444;
    width: 100%;
    padding: 15px;
}

.btn-danger.nuke:hover {
    background: #ef4444;
}

.system-logs {
    margin-top: 15px;
}

.log-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #1e293b;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #cbd5e1;
}

.log-time {
    color: #94a3b8;
    font-family: monospace;
}
/* ===== HALAMAN AKUN ===== */

.profile-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-top: 20px;
}

.profile-photo-section {
    text-align: center;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid #00d4ff;
    object-fit: cover;
    margin-bottom: 20px;
}

.btn-upload {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.btn-upload:hover {
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.profile-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    align-items: center;
}

.info-row label {
    font-weight: bold;
    color: #666;
}

.info-row span {
    font-size: 16px;
}

/* Referral */
.referral-box {
    margin-top: 20px;
}

.referral-code-display {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.referral-code-display label {
    display: block;
    font-size: 14px;
    margin-bottom: 15px;
}

.code-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 8px;
}

.code-box span {
    font-size: 24px;
    font-weight: 900;
    font-family: monospace;
}

.btn-copy {
    padding: 8px 15px;
    background: white;
    color: #00d4ff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.referral-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-card .stat-icon {
    font-size: 36px;
}

.stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.stat-card .stat-label {
    font-size: 12px;
    color: #666;
}

.stat-card .stat-value {
    font-size: 24px;
    font-weight: 900;
    color: #00d4ff;
}

.referral-list h4 {
    margin-bottom: 15px;
}

.referral-item {
    display: grid;
    grid-template-columns: 1fr 150px 100px;
    gap: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    align-items: center;
}

.referral-date {
    font-size: 12px;
    color: #999;
}

.referral-bonus {
    font-weight: bold;
    color: #28a745;
    text-align: right;
}

/* Reset */
.reset-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.reset-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid transparent;
}

.reset-card.nuke {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.reset-card h4 {
    margin-bottom: 10px;
}

.reset-card p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.btn-danger {
    padding: 10px 20px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.btn-danger.nuke-btn {
    width: 100%;
    padding: 15px;
    background: #7f1d1d;
}

.btn-danger.nuke-btn:hover {
    background: #dc3545;
}
/* ===== LELANG REFERRAL ===== */

.auction-status {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    border-radius: 12px;
    padding: 25px;
    color: white;
    margin-bottom: 20px;
}

.auction-status.winning {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.auction-status.losing {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.auction-status.empty {
    background: linear-gradient(135deg, #667eea, #764ba2);
    text-align: center;
}

.auction-winner, .auction-bid, .auction-timer, .auction-pool-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.winner-label, .bid-label, .timer-label, .pool-label {
    font-size: 14px;
    opacity: 0.9;
}

.winner-name, .bid-value, .timer-value, .pool-value {
    font-size: 18px;
    font-weight: 900;
}

.auction-bid-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.bid-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
    align-items: end;
}

.bid-input-group label {
    font-size: 14px;
    color: #666;
}

.bid-input-group input {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
}

.btn-claim {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #333;
    border: none;
    border-radius: 8px;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s;
}

.btn-claim:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
}

.auction-pool-list {
    margin-top: 15px;
}

.pool-item {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 8px;
    border-left: 4px solid #f093fb;
}

.pool-email {
    font-weight: bold;
    color: #333;
}

.pool-date {
    font-size: 12px;
    color: #999;
    text-align: right;
}

.referral-type {
    font-size: 12px;
    padding: 3px 8px;
    background: #e0e0e0;
    border-radius: 10px;
    text-align: center;
}
/* ===== LIGA PREDIKSI ===== */

.prediction-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.prediction-stats .stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-left: 5px solid #00d4ff;
}

.prediction-stats .stat-icon {
    font-size: 32px;
}

.prediction-stats .stat-info {
    display: flex;
    flex-direction: column;
}

.prediction-stats .stat-label {
    font-size: 12px;
    color: #666;
}

.prediction-stats .stat-value {
    font-size: 24px;
    font-weight: 900;
    color: #00d4ff;
}

/* Match Prediction Cards */
.matches-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.match-prediction-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.match-prediction-card.predicted {
    border-color: #28a745;
    background: #f0fff4;
}

.match-prediction-card.small {
    padding: 15px;
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.match-time {
    font-size: 14px;
    color: #666;
    font-weight: bold;
}

.predicted-badge {
    background: #28a745;
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.match-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.team {
    display: flex;
    align-items: center;
    gap: 15px;
}

.team.away {
    flex-direction: row-reverse;
    text-align: right;
}

.team-logo {
    font-size: 48px;
}

.team-info h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.team-elo {
    font-size: 12px;
    color: #999;
}

.vs-section {
    text-align: center;
}

.vs-text {
    font-size: 24px;
    font-weight: 900;
    color: #00d4ff;
}

.prediction-score {
    font-size: 36px;
    font-weight: 900;
    color: #28a745;
}

.match-actions {
    text-align: center;
}

.btn-predict, .btn-predicted {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-predict {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: white;
}

.btn-predict:hover {
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.btn-predicted {
    background: #28a745;
    color: white;
    cursor: not-allowed;
}

/* Compact Match Card */
.match-prediction-card.small .match-teams-compact {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    align-items: center;
}

.team-compact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-compact:last-child {
    flex-direction: row-reverse;
}

.team-logo-small {
    font-size: 24px;
}

.team-name-small {
    font-size: 14px;
    font-weight: bold;
}

.vs-compact {
    text-align: center;
}

.vs-small {
    font-size: 12px;
    color: #999;
}

.score-compact {
    font-size: 18px;
    font-weight: 900;
    color: #28a745;
}

.match-time-compact {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 5px;
}

.btn-predict-small {
    padding: 8px 12px;
    background: #00d4ff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}

.btn-predict-small:disabled {
    background: #28a745;
    cursor: not-allowed;
}

/* Prediction Modal */
.prediction-form {
    padding: 20px;
}

.prediction-form h3 {
    text-align: center;
    margin-bottom: 25px;
}

.prediction-match {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

.team-prediction {
    text-align: center;
}

.team-logo-large {
    font-size: 64px;
    margin-bottom: 10px;
}

.team-prediction h4 {
    margin-bottom: 5px;
    font-size: 16px;
}

.vs-large {
    font-size: 32px;
    font-weight: 900;
    color: #00d4ff;
}

.score-inputs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.score-input-group {
    text-align: center;
}

.score-input-group label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.score-input-group input {
    width: 80px;
    padding: 15px;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

.score-input-group input:focus {
    outline: none;
    border-color: #00d4ff;
}

.score-separator {
    font-size: 32px;
    font-weight: 900;
    color: #999;
}

.prediction-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.prediction-info p {
    margin-bottom: 10px;
    font-weight: bold;
}

.prediction-info ul {
    margin-left: 20px;
    font-size: 14px;
}

.prediction-info li {
    margin-bottom: 5px;
}

.prediction-actions {
    display: flex;
    gap: 15px;
}

.prediction-actions button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}

.btn-cancel {
    background: #e0e0e0;
    color: #333;
}

/* Leaderboard */
.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.leaderboard-table th, .leaderboard-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.leaderboard-table th {
    background: #f8f9fa;
    font-weight: bold;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
}

.leaderboard-table tr.highlight {
    background: #e8f5e9;
    border-left: 4px solid #28a745;
}

.manager-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.manager-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #00d4ff;
}

.manager-info strong {
    display: block;
    font-size: 14px;
}

.country {
    font-size: 12px;
    color: #999;
}

.delta {
    font-size: 16px;
    color: #28a745;
}
