
:root{
  --navy: #0d1b2a;
  --orange: #fca311;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --soft-bg: #f7f9fb;
  --radius: 12px;
  --shadow: 0 6px 18px rgba(13,27,42,0.06);
  font-family: 'Cairo', sans-serif;
}

body{
  background: var(--soft-bg);
  font-family: 'Cairo', sans-serif;
  color: #0f1724;
  margin:0;
  min-height:100vh;
}

/* Layout */
.app-wrapper{
  display:flex;
  min-height:100vh;
    background: var(--soft-bg)!important;

}


/* Main */
.main-content{ flex:1; padding-left:30px; }

/* Topbar */
.topbar{ border-bottom:1px solid #eef2f6; background:transparent; display:flex; justify-content:space-between; align-items:center;}
/* .search-group input{ width:360px; } */

.search-group {
  width: 100%;
  max-width: 350px; 
}

.search-group input {
  border-radius: 25px;
  padding-right: 2rem; 
  height: 38px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.search-group input:focus {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-color: #001f3f;
}

.search-group i {
  pointer-events: none; 
}


/* .topbar .actions { display:flex ; gap:10px; align-items:center; } */
/* .icon-btn {
  background:transparent; border:1px solid rgba(13,27,42,0.06);
  padding:8px 10px; border-radius:8px; cursor:pointer;
  color:var(--navy);
  transition: all 0.3s ease;
}
.icon-btn:hover { background: rgba(255,122,0,0.1); } */


/* Cards */
.stat-card{
  background:var(--card-bg) !important;
  border-radius:14px;
  box-shadow: var(--shadow)!important;
}





@media (max-width: 991px){
  /* .sidebar{ width:220px; } */
  .main-content{ padding-left:16px; padding-right:16px; }
  .search-group input{ width:200px; }
}
@media (max-width: 767px){
  /* .sidebar{ display:none; position:fixed; right:0; top:0; height:100%; z-index:999; } */
  .main-content{ padding:16px; }
  .search-group input{ width:140px; }
}

@media (max-width: 991px) {
  .sidebar {
    position: fixed;
    right: -300px;
    top: 0;
    height: 100%;
    width: 250px;
    background: white;
    z-index: 999;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
  }

  .sidebar.open {
    right: 0;
  }
}


.stats-options {
  flex-wrap: wrap;
  margin-top: 50px;
  margin-right: 30px;

}



.stat-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.stat-title {
  color: #7a7a8c;
  font-size: 14px;
  font-weight: 500;
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: #1e1e2f;
  margin-top: 6px;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%); */
  color: #fff;
  font-size: 22px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.stat-icon:hover {
  transform: scale(1.15);
  /* background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); */
}


.stat-footer {
  width: 100%;
  padding: 8px 0;
  margin-top: 12px;
  background-color: rgba(255, 165, 0, 0.15); 
  border-radius: 8px;
  color: #ff7f00; 
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.stat-footer i {
  color: #ff7f00;
}

.stat-footer:hover {
  background-color: rgba(255, 165, 0, 0.25);
  color: #e67300;
}

.stat-footer:hover i {
  color: #e67300;
}
