/*
=========================================
SMART FOREST RESCUE TRACKING SYSTEM
=========================================
*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    background:#f4f7fc;
}

/* ===========================
   NAVBAR
=========================== */

.navbar{
    height:70px;
}

.navbar-brand{
    font-weight:700;
    font-size:22px;
}

/* ===========================
   SIDEBAR
=========================== */

.sidebar{

    min-height:100vh;

    background:#1e293b;

}

.sidebar .nav-link{

    color:#d1d5db;

    padding:15px 25px;

    transition:.3s;

    font-size:15px;

}

.sidebar .nav-link:hover{

    background:#198754;

    color:white;

}

.sidebar .nav-link.active{

    background:#198754;

    color:white;

    border-left:5px solid #fff;

}

/* ===========================
   DASHBOARD TITLE
=========================== */

.page-title{

    font-size:28px;

    font-weight:bold;

    margin-bottom:25px;

}

/* ===========================
   DASHBOARD CARD
=========================== */

.dashboard-card{

    border:none;

    border-radius:15px;

    color:white;

    transition:.3s;

}

.dashboard-card:hover{

    transform:translateY(-5px);

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

.dashboard-card i{

    font-size:38px;

}

.card-total{

    background:#0d6efd;

}

.card-online{

    background:#198754;

}

.card-offline{

    background:#6c757d;

}

.card-sos{

    background:#dc3545;

}

.card-battery{

    background:#fd7e14;

}

/* ===========================
   TABLE
=========================== */

.table{

    background:white;

    border-radius:10px;

    overflow:hidden;

}

.table thead{

    background:#198754;

    color:white;

}

.table th{

    font-weight:600;

}

/* ===========================
   MAP
=========================== */

#map{

    width:100%;

    height:450px;

    border-radius:15px;

    border:2px solid #dee2e6;

}

/* ===========================
   CHART
=========================== */

.chart-box{

    background:white;

    border-radius:15px;

    padding:20px;

}

/* ===========================
   ALERT BOX
=========================== */

.alert-box{

    background:white;

    border-radius:15px;

    padding:20px;

}

.alert-item{

    padding:12px;

    border-bottom:1px solid #e5e7eb;

}

.alert-item:last-child{

    border:none;

}

/* ===========================
   LOGIN PAGE
=========================== */

.login-page{

    background:linear-gradient(135deg,#198754,#0d6efd);

    min-height:100vh;

}

.login-card{

    border:none;

    border-radius:20px;

    box-shadow:0 15px 40px rgba(0,0,0,.2);

}

.login-logo{

    width:90px;

}

/* ===========================
   BUTTON
=========================== */

.btn-success{

    border-radius:10px;

}

.btn-danger{

    border-radius:10px;

}

/* ===========================
   FOOTER
=========================== */

.footer{

    margin-top:30px;

    text-align:center;

    color:#6c757d;

    font-size:14px;

}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:992px){

.sidebar{

    min-height:auto;

}

#map{

    height:300px;

}

.page-title{

    font-size:22px;

}

.dashboard-card{

    margin-bottom:15px;

}

}