body{
    margin:0;
    background:#0f172a;
    color:#fff;
    font-family:Arial;
}

.main-layout{
    display:flex;
    min-height:100vh;
}

.sidebar{
    width:260px;
    background:#111827;
    border-right:1px solid #1f2937;
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    z-index:1000;
    overflow-y:auto;
}

.sidebar-top{
    padding:20px;
}

.sidebar-logo{
    width:50px;
    height:50px;
    border-radius:14px;
    background:#2563eb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    font-size:20px;
}

.sidebar-menu{
    display:flex;
    flex-direction:column;
    padding:10px;
}

.sidebar-menu a{
    color:#d1d5db;
    text-decoration:none;
    padding:14px;
    border-radius:10px;
    margin-bottom:5px;
}

.sidebar-menu a:hover{
    background:#1f2937;
}

.main-content{
    flex:1;
    margin-left:260px;
}

.main-header{
    height:70px;
    background:#111827;
    border-bottom:1px solid #1f2937;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 20px;
    position:sticky;
    top:0;
    z-index:999;
}

.logo-area{
    font-size:20px;
    font-weight:bold;
}

.header-player{
    display:flex;
    align-items:center;
    gap:10px;
}

.header-player span{
    display:block;
    font-size:12px;
    color:#9ca3af;
}

.page-content{
    padding:20px;
}

.mobile-menu-btn{
    display:none;
    background:none;
    border:none;
    color:white;
    font-size:24px;
    margin-right:15px;
}

.mobile-bottom-nav{
    display:none;
}

@media(max-width:768px){

    .sidebar{
        transform:translateX(-100%);
        transition:0.3s;
    }

    .sidebar-open{
        transform:translateX(0);
    }

    .main-content{
        margin-left:0;
    }

    .mobile-menu-btn{
        display:block;
    }

    .mobile-bottom-nav{
        display:flex;
        position:fixed;
        bottom:0;
        left:0;
        right:0;
        height:60px;
        background:#111827;
        border-top:1px solid #1f2937;
        justify-content:space-around;
        align-items:center;
        z-index:999;
    }

    .mobile-bottom-nav a{
        color:white;
        text-decoration:none;
        font-size:14px;
    }

    .page-content{
        padding-bottom:90px;
    }

}

.sidebar-close-btn{
    display:none;
}

.sidebar-overlay{
    display:none;
}

@media(max-width:768px){

    .main-header{
        padding-left:12px;
    }

    .header-left{
        display:flex;
        align-items:center;
    }

    .mobile-menu-btn{
        display:flex;
        align-items:center;
        justify-content:center;
        width:42px;
        height:42px;
        border-radius:10px;
        background:#1f2937;
        border:1px solid #374151;
        color:white;
        font-size:22px;
        position:relative;
        z-index:1201;
    }

    .sidebar{
        width:280px;
        box-shadow:0 0 40px rgba(0,0,0,.45);
    }

    .sidebar-close-btn{
        display:flex;
        position:absolute;
        top:14px;
        right:14px;
        width:36px;
        height:36px;
        align-items:center;
        justify-content:center;
        border:none;
        border-radius:10px;
        background:#1f2937;
        color:white;
        font-size:26px;
        z-index:1202;
    }

    .sidebar-overlay-open{
        display:block;
        position:fixed;
        inset:0;
        background:rgba(0,0,0,.55);
        z-index:999;
    }

    .sidebar{
        z-index:1200;
    }
}

.attributes-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
    gap:12px;
}

.attributes-grid div{
    background:#0f172a;
    border:1px solid #1f2937;
    border-radius:12px;
    padding:14px;
}

.attributes-grid span{
    display:block;
    color:#9ca3af;
    font-size:13px;
    margin-bottom:6px;
}

.attributes-grid strong{
    font-size:22px;
    color:#22c55e;
}

.injury-modal-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.70);
    backdrop-filter:blur(6px);
    z-index:3000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.injury-modal-box{
    width:100%;
    max-width:420px;
    background:#111827;
    border:1px solid #374151;
    border-radius:20px;
    padding:28px;
    text-align:center;
    box-shadow:0 20px 80px rgba(0,0,0,.45);
}

.injury-modal-box h2{
    margin-top:0;
}

.injury-countdown{
    font-size:34px;
    font-weight:bold;
    color:#22c55e;
    margin:20px 0;
}

.injury-modal-box button{
    width:100%;
    padding:14px;
    border:none;
    border-radius:12px;
    background:#2563eb;
    color:white;
    font-weight:bold;
    cursor:pointer;
}

.training-card{
    position:relative;
    overflow:hidden;
}

.training-card-lock{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.78);
    backdrop-filter:blur(5px);
    z-index:20;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.training-lock-box{
    background:#111827;
    border:1px solid #374151;
    border-radius:16px;
    padding:22px;
    text-align:center;
    min-width:260px;
}

.training-lock-box strong{
    display:block;
    margin-bottom:10px;
    font-size:18px;
}

.training-lock-box span{
    display:block;
    color:#22c55e;
    font-size:26px;
    font-weight:bold;
    margin-bottom:14px;
}

.training-lock-box button{
    padding:10px 18px;
    border:none;
    border-radius:10px;
    background:#2563eb;
    color:white;
    cursor:pointer;
}

.team-table-wrap{
    width:100%;
    overflow-x:auto;
}

.team-table{
    width:100%;
    border-collapse:collapse;
    min-width:720px;
}

.team-table th,
.team-table td{
    padding:14px 12px;
    border-bottom:1px solid #1f2937;
    text-align:left;
    color:#d1d5db;
}

.team-table th{
    color:#9ca3af;
    font-size:13px;
    font-weight:normal;
}

.team-table tr:hover{
    background:#111827;
}

.my-player-row{
    background:rgba(37,99,235,.14);
}

.captain-badge{
    display:inline-block;
    margin-left:8px;
    padding:3px 7px;
    border-radius:999px;
    background:#f59e0b;
    color:#111827;
    font-size:11px;
    font-weight:bold;
}

.team-table-wrap{
    width:100%;
    overflow-x:auto;
    margin-top:14px;
}

.team-table{
    width:100%;
    border-collapse:collapse;
    min-width:780px;
}

.team-table th,
.team-table td{
    padding:14px 12px;
    border-bottom:1px solid rgba(255,255,255,.08);
    text-align:left;
    color:#e5e7eb;
    white-space:nowrap;
}

.team-table th{
    color:#9ca3af;
    font-size:13px;
    font-weight:600;
}

.team-table tr:hover{
    background:rgba(255,255,255,.04);
}

.my-player-row{
    background:rgba(37,99,235,.14);
}

.captain-badge{
    display:inline-block;
    margin-left:8px;
    padding:3px 7px;
    border-radius:999px;
    background:#f59e0b;
    color:#111827;
    font-size:11px;
    font-weight:bold;
}