/* =====================================
   GOOGLE FONT
===================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');



/* =====================================
   RESET
===================================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}


body{

    font-family:'Poppins',sans-serif;

    background:
    linear-gradient(
        rgba(2,6,23,.92),
        rgba(2,6,23,.95)
    ),
    url("terrain_de_foot.jpg") center/cover fixed;


    min-height:100vh;

    color:#e5e7eb;

}



/* =====================================
   HEADER
===================================== */


.topbar{

    height:85px;

    background:#0f172a;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 40px;

    border-bottom:1px solid #1e293b;

}



.logo{

    color:white;

    font-size:28px;

    font-weight:700;

}



.admin{

    background:#1e293b;

    color:#cbd5e1;

    padding:10px 22px;

    border-radius:30px;

    font-size:14px;

}



/* =====================================
   DASHBOARD GLOBAL
===================================== */


.dashboard{

    display:flex;

    min-height:calc(100vh - 85px);

}





/* =====================================
   SIDEBAR
===================================== */


.sidebar{

    width:260px;

    background:#111827;

    padding:30px 20px;

    border-right:1px solid #1e293b;

}




.club{

    text-align:center;

    margin-bottom:40px;

}



.ball{

    font-size:50px;

}



.club h2{

    color:white;

    margin-top:10px;

}



.club p{

    color:#94a3b8;

    font-size:14px;

}




.menu-title{

    color:#64748b;

    font-size:12px;

    text-transform:uppercase;

    margin-bottom:15px;

}





.menu form{

    display:flex;

    flex-direction:column;

    gap:12px;

}




.menu button{


    background:#1f2937;

    border:none;

    padding:15px;

    border-radius:14px;

    color:#cbd5e1;

    text-align:left;

    cursor:pointer;

    font-size:15px;

    transition:.3s;

}




.menu button:hover{

    background:#22c55e;

    color:white;

    transform:translateX(5px);

}



/* =====================================
   CONTENT
===================================== */


.content{

    flex:1;

    padding:35px;

}




.content h1{

    color:white;

    font-size:32px;

    margin-bottom:30px;

}



/* =====================================
   STATISTIQUES
===================================== */


.stats{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

    margin-bottom:35px;

}



.stat-card{


    background:#172033;

    padding:25px;

    border-radius:22px;

    box-shadow:
    0 15px 40px rgba(0,0,0,.25);


    border:1px solid rgba(255,255,255,.05);

}




.stat-card span{

    color:#94a3b8;

    font-size:15px;

}



.stat-card h2{

    color:white;

    font-size:35px;

    margin:15px 0;

}



.stat-card p{

    color:#64748b;

}



/* =====================================
   PANEL PRINCIPAL
===================================== */


.panel{

    background:#111827;

    border-radius:25px;

    padding:30px;

    box-shadow:
    0 20px 50px rgba(0,0,0,.3);

}




.panel-title{

    color:white;

    margin-bottom:25px;

    font-size:22px;

}



/* =====================================
   FORMULAIRES
===================================== */


.panel form{


    display:flex;

    flex-direction:column;

    gap:15px;

}




.panel label{

    color:#cbd5e1;

}



input[type="text"],
select{


    width:100%;

    padding:15px;

    background:#0f172a;

    border:1px solid #334155;

    color:white;

    border-radius:12px;

    font-size:15px;

}




input[type="text"]:focus,
select:focus{


    outline:none;

    border-color:#22c55e;

    box-shadow:
    0 0 0 4px rgba(34,197,94,.15);

}





/* =====================================
   BOUTONS
===================================== */


.bouton,
input[type="submit"]{


    width:max-content;

    padding:14px 30px;

    background:
    linear-gradient(
        135deg,
        #22c55e,
        #16a34a
    );


    color:white;

    border:none;

    border-radius:12px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}



.bouton:hover,
input[type="submit"]:hover{


    transform:translateY(-3px);

    box-shadow:
    0 10px 30px rgba(34,197,94,.35);

}



/* =====================================
   TABLEAU JOUEURS
===================================== */


table{


    width:100%;

    border-collapse:collapse;

    margin-top:25px;

    overflow:hidden;

    border-radius:15px;

}



th{


    background:#22c55e;

    color:#052e16;

    padding:18px;

    text-transform:uppercase;

    font-size:13px;

}



td{


    padding:16px;

    text-align:center;

    color:#cbd5e1;

    border-bottom:1px solid #334155;

}



tr:nth-child(even){

    background:#1e293b;

}



tr:hover{

    background:#26354f;

}




/* =====================================
   MESSAGES
===================================== */


.success{


    background:#052e16;

    color:#86efac;

    border-left:5px solid #22c55e;

    padding:15px;

    border-radius:12px;

    margin-top:20px;

}



.error{


    background:#450a0a;

    color:#fecaca;

    border-left:5px solid #ef4444;

    padding:15px;

    border-radius:12px;

}



/* =====================================
   RESPONSIVE
===================================== */


@media(max-width:1000px){


.dashboard{

    flex-direction:column;

}



.sidebar{

    width:100%;

}



.stats{

    grid-template-columns:1fr;

}



.content{

    padding:20px;

}



}



@media(max-width:600px){


.topbar{

    padding:0 20px;

}



.logo{

    font-size:20px;

}



.panel{

    padding:20px;

}



table{

    display:block;

    overflow-x:auto;

}


}