:root{
    --primary:#2563eb;
    --dark:#1e293b;
    --success:#22c55e;
    --light:#f8fafc;
    --white:#ffffff;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:#f1f5f9;
    color:#334155;
}

/*********************************
TOP BAR
**********************************/

.top-bar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 25px;

    background:#ffffff;

    border-bottom:1px solid #e2e8f0;

    box-shadow:
        0 2px 10px rgba(15,23,42,.05);

    margin-bottom:25px;
}

.top-bar-left{

    display:flex;

    align-items:center;
}

.app-name{

    font-size:18px;

    font-weight:700;

    color:#1e293b;
}

.top-bar-right{

    display:flex;

    align-items:center;

    gap:15px;
}

.user-box{

    display:flex;

    align-items:center;

    gap:8px;

    background:#f1f5f9;

    padding:10px 15px;

    border-radius:12px;

    color:#334155;

    font-weight:600;
}

.btn-logout{

    background:#dc2626;

    color:white;

    padding:10px 15px;

    border-radius:10px;

    text-decoration:none;

    transition:.3s;
}

.btn-logout:hover{

    background:#b91c1c;
}

/******** MENU ********/

.navbar{
    background:var(--dark);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 30px;
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    color:white;
    font-size:24px;
    font-weight:700;
}

.menu{
    list-style:none;
    display:flex;
    gap:25px;
}

.menu a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

.menu a:hover{
    color:#38bdf8;
}

/******** CONTENU ********/

.container{
    max-width:1400px;
    margin:auto;
    padding:30px;
}

.page-title{
    margin-bottom:30px;
}

/******** KPI ********/

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.card{
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.card h3{
    margin-bottom:10px;
}

.card-value{
    font-size:32px;
    font-weight:bold;
    color:var(--primary);
}

/******** FOOTER ********/

.footer{
    background:var(--dark);
    color:white;
    text-align:center;
    padding:20px;
    margin-top:50px;
}