:root{
  --primary:#2563eb;
  --secondary:#6610f2;
  --success:#16a34a;
  --warning:#f59e0b;
  --danger:#dc2626;
  --dark:#0f172a;
  --light:#f8fafc;
  --sidebar:#111827;
  --sidebar-hover:#2563eb;
}

*{
  transition:.25s ease;
}

body{
  background:#f1f5f9;
  font-family:'Segoe UI',sans-serif;
}

/* HEADER */

.skin-blue .main-header{
  background:linear-gradient(135deg,#2563eb,#4f46e5);
  box-shadow:0 5px 25px rgba(37,99,235,.25);
}

/* SIDEBAR */

.main-sidebar{
  background:linear-gradient(180deg,#0f172a,#1e293b);
  box-shadow:5px 0 25px rgba(0,0,0,.15);
}

.brand-link{
  padding:20px;
  text-align:center;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.brand-link .brand-text{
  color:#fff;
  font-weight:700;
  font-size:20px;
  letter-spacing:1px;
}

.nav-sidebar .nav-link{
  margin:4px 10px;
  border-radius:12px;
  color:#cbd5e1 !important;
  padding:12px;
}

.nav-sidebar .nav-link:hover{
  background:var(--sidebar-hover);
  color:#fff !important;
  transform:translateX(5px);
}

.nav-sidebar .nav-link.active{
  background:linear-gradient(90deg,#2563eb,#4f46e5);
  color:white !important;
  box-shadow:0 8px 20px rgba(37,99,235,.3);
}

.nav-sidebar .nav-link i{
  width:24px;
  text-align:center;
}

/* SIDEBAR SECTION */

.sidebar-section{
  color:#94a3b8;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  padding:15px;
  letter-spacing:1px;
}

/* DASHBOARD BANNER */

.dashboard-banner{
  background:
  linear-gradient(rgba(37,99,235,.85),rgba(79,70,229,.85)),
  url('../img/bg-dashboard.jpg');

  background-size:cover;
  background-position:center;

  color:white;
  border-radius:25px;
  padding:30px;
  margin-bottom:25px;

  box-shadow:0 15px 35px rgba(37,99,235,.25);
}

.badge-online{
  background:#22c55e;
  color:white;
  padding:8px 16px;
  border-radius:30px;
  font-weight:600;
}

/* CARD */

.card,
.card-stat,
.content-card{
  border:none;
  border-radius:20px;
  background:white;
  box-shadow:0 10px 30px rgba(15,23,42,.08);
}

.card:hover,
.card-stat:hover{
  transform:translateY(-5px);
}

.card-stat{
  position:relative;
  overflow:hidden;
}

.card-stat::before{
  content:'';
  position:absolute;
  top:-30px;
  right:-30px;
  width:120px;
  height:120px;
  border-radius:50%;

  background:
  radial-gradient(circle,
  rgba(37,99,235,.25),
  transparent 70%);
}

/* BUTTON */

.btn-premium{
  background:
  linear-gradient(135deg,#2563eb,#4f46e5);

  border:none;
  color:white;
  border-radius:12px;
  padding:10px 18px;

  box-shadow:
  0 10px 25px rgba(37,99,235,.25);
}

.btn-premium:hover{
  color:white;
  transform:translateY(-2px);
}

/* TABLE */

.table-modern{
  border-radius:15px;
  overflow:hidden;
}

.table-modern thead th{
  background:
  linear-gradient(90deg,
  rgba(37,99,235,.1),
  rgba(79,70,229,.1));

  color:#1e293b;
  border:none;
}

.table-modern tbody tr{
  border-bottom:1px solid #eef2f7;
}

.table-modern tbody tr:hover{
  background:#eff6ff;
}

/* FORM */

.form-control,
.form-select{
  border-radius:12px;
  border:1px solid #dbeafe;
}

.form-control:focus,
.form-select:focus{
  border-color:#2563eb !important;

  box-shadow:
  0 0 0 .25rem rgba(37,99,235,.15)
  !important;
}

/* ALERT */

.alert-premium{
  background:#eff6ff;
  border:1px solid #bfdbfe;
  border-radius:15px;
}

/* DATATABLE */

.dataTables_wrapper .dataTables_filter input{
  border-radius:12px;
  border:1px solid #dbeafe;
  padding:8px 12px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button{
  border-radius:10px !important;
  border:1px solid #dbeafe !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current{
  background:#2563eb !important;
  color:white !important;
}

/* CONTENT */

.content-wrapper{
  background:#f1f5f9;
  min-height:100vh;
  padding:20px !important;
}

/* QUICK ACTION */

.quick-action{
  text-align:center;
  padding:20px;
  border-radius:20px;
  background:white;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.quick-action:hover{
  transform:translateY(-5px);
}

.quick-action i{
  font-size:32px;
  color:#2563eb;
  margin-bottom:10px;
}

/* PROFILE */

.top-user{
  background:white;
  padding:8px 15px;
  border-radius:15px;
  box-shadow:0 5px 20px rgba(0,0,0,.05);
}

/* BADGE */

.badge-primary-subtle{
  background:#dbeafe;
  color:#2563eb;
}

.badge-success{
  background:#16a34a;
}

.badge-warning{
  background:#f59e0b;
}

.badge-danger{
  background:#dc2626;
}

/* DARK MODE */

[data-theme='dark']{
  background:#0b1220;
  color:#e5e7eb;
}

[data-theme='dark'] .card,
[data-theme='dark'] .card-stat,
[data-theme='dark'] .content-card{
  background:#111827;
  color:white;
}

[data-theme='dark'] .table{
  color:white;
}

[data-theme='dark'] .main-sidebar{
  background:#020617;
}

[data-theme='dark'] .content-wrapper{
  background:#0b1220;
}

/* SCROLLBAR */

::-webkit-scrollbar{
  width:8px;
}

::-webkit-scrollbar-thumb{
  background:#2563eb;
  border-radius:20px;
}

/* RESPONSIVE */

@media(max-width:768px){

  .content-wrapper{
    padding:10px !important;
  }

  .dashboard-banner{
    padding:20px;
  }

  .card-stat{
    margin-bottom:15px;
  }

}