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

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#0f172a;
    color:#fff;
}

/* Sidebar */

.sidebar{
    width:250px;
    height:100vh;
    background:#111827;
    position:fixed;
    left:0;
    top:0;
    border-right:1px solid #1f2937;
}

.logo{
    padding:25px;
    text-align:center;
    border-bottom:1px solid #1f2937;
}

.logo h2{
    color:#1684c5;
    margin-bottom:5px;
}

.logo p{
    color:#94a3b8;
    font-size:13px;
}

.menu{
    padding:15px;
}

.menu a{
    display:block;
    padding:12px 15px;
    color:#fff;
    text-decoration:none;
    border-radius:10px;
    margin-bottom:5px;
    transition:.2s;
}

.menu a:hover{
    background:#1e293b;
}

/* Main */

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

.main h1{
    margin-bottom:20px;
}

/* Dashboard Cards */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.card{
    background:#1e293b;
    border-radius:14px;
    padding:20px;
    box-shadow:0 4px 15px rgba(0,0,0,.25);
}

.card h3{
    color:#94a3b8;
    font-size:14px;
    margin-bottom:10px;
}

.card h1{
    font-size:34px;
}

/* Chart Area */

.chart-card{
    margin-top:25px;
    background:#1e293b;
    border-radius:14px;
    padding:20px;
}

/* Table */

.table{
    width:100%;
    border-collapse:collapse;
}

.table th{
    background:#111827;
    padding:12px;
    text-align:left;
}

.table td{
    padding:12px;
    border-bottom:1px solid #334155;
}

/* Buttons */

.btn{
    display:inline-block;
    padding:10px 16px;
    border-radius:8px;
    text-decoration:none;
    border:none;
    cursor:pointer;
}

.btn-primary{
    background:#1684c5;
    color:#fff;
}

.btn-danger{
    background:#dc2626;
    color:#fff;
}

/* Mobile */

@media(max-width:768px){

    .sidebar{
        width:100%;
        height:auto;
        position:relative;
    }

    .main{
        margin-left:0;
    }

    .grid{
        grid-template-columns:1fr;
    }
}
.badge{
    padding:8px 14px;
    border-radius:20px;
    font-size:12px;
    font-weight:bold;
}

.badge-active{
    background:#16a34a;
    color:#fff;
}

.badge-isolir{
    background:#dc2626;
    color:#fff;
}

input,
textarea,
select{
    width:100%;
    padding:12px;
    background:#0f172a;
    border:1px solid #334155;
    border-radius:10px;
    color:white;
}

input:focus,
textarea:focus,
select:focus{
    outline:none;
    border-color:#1684c5;
}

.btn-primary:hover{
    opacity:.9;
}
.card{
transition:.25s;
}

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

.card h1{
font-size:34px;
margin-top:10px;
}

.card h2{
margin-bottom:10px;
}

.grid{
margin-bottom:20px;
}
