/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:#f4f6f9;
    color:#333;
}

/* =========================
   SIDEBAR
========================= */

.sidebar{
    position:fixed;
    left:0;
    top:0;
    width:260px;
    height:100vh;
    background:#0f172a;
    color:white;
    overflow-y:auto;
    z-index:1000;
}

.sidebar-header{
    padding:25px 20px;
    text-align:center;
    border-bottom:1px solid rgba(255,255,255,.1);
}

.sidebar-header .logo{
    width:80px;
    height:auto;
    margin-bottom:10px;
}

.sidebar-header h5{
    margin:0;
    font-weight:600;
}

.sidebar-menu{
    padding:15px 0;
}

.sidebar-menu a{
    display:block;
    padding:14px 20px;
    color:#cbd5e1;
    text-decoration:none;
    transition:.2s;
}

.sidebar-menu a:hover{
    background:#1e293b;
    color:white;
}

.sidebar-menu a.active{
    background:#2563eb;
    color:white;
}

.sidebar-menu i{
    margin-right:10px;
}

/* =========================
   MAIN CONTENT
========================= */

.main-content{
    margin-left:260px;
    padding:25px;
}

.topbar{
    background:white;
    border-radius:12px;
    padding:20px;
    margin-bottom:20px;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

/* =========================
   KPI
========================= */

.kpi-card{
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 2px 15px rgba(0,0,0,.06);
    transition:.2s;
}

.kpi-card:hover{
    transform:translateY(-3px);
}

.kpi-title{
    color:#64748b;
    font-size:14px;
    margin-bottom:10px;
}

.kpi-number{
    font-size:32px;
    font-weight:700;
}

/* =========================
   TABLE
========================= */

.table{
    margin-bottom:0;
}

.table thead th{
    background:#f8fafc;
    border-bottom:2px solid #e2e8f0;
    font-size:14px;
}

.table td{
    vertical-align:middle;
}

/* =========================
   BUTTONS
========================= */

.btn-primary{
    background:#2563eb;
    border:none;
}

.btn-primary:hover{
    background:#1d4ed8;
}

.btn-success{
    border:none;
}

.btn-danger{
    border:none;
}

/* =========================
   CARD
========================= */

.card{
    border-radius:15px;
}

/* =========================
   FORM
========================= */

.form-control,
.form-select{
    border-radius:10px;
    min-height:45px;
}

textarea.form-control{
    min-height:120px;
}

/* =========================
   BADGES
========================= */

.badge{
    padding:8px 12px;
    font-size:12px;
}

/* =========================
   LOGIN PAGE
========================= */

.login-page{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(
        135deg,
        #2563eb,
        #0f172a
    );
}

.login-card{
    width:100%;
    max-width:450px;
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 40px rgba(0,0,0,.15);
}

.login-header{
    text-align:center;
    padding:30px;
    background:#f8fafc;
}

.login-header img{
    width:90px;
    margin-bottom:15px;
}

.login-body{
    padding:30px;
}

/* =========================
   TRACK PAGE
========================= */

.search-card{
    border-radius:15px;
    overflow:hidden;
}

.result-card{
    border-radius:15px;
}

/* =========================
   HERO
========================= */

.hero{
    background:linear-gradient(
        135deg,
        #2563eb,
        #1e40af
    );
    color:white;
    padding:60px 0;
    text-align:center;
}

/* =========================
   FOOTER
========================= */

footer{
    margin-top:50px;
    text-align:center;
    color:#64748b;
    padding:20px;
}

/* =========================
   MOBILE
========================= */

@media(max-width:992px){

    .sidebar{

        width:100%;
        height:auto;
        position:relative;

    }

    .main-content{

        margin-left:0;

    }

}

@media(max-width:768px){

    .kpi-number{

        font-size:24px;

    }

    .topbar{

        text-align:center;

    }

}