/* Future Guard Capital - Admin Panel Styling */
:root {
  --admin-sidebar-w: 260px;
  --admin-header-h: 65px;
}

body.admin-body {
  background-color: #F1F5F9;
  font-family: 'Inter', sans-serif;
  color: #1E293B;
  display: flex;
  min-height: 100vh;
  padding-bottom: 0;
}

/* Admin Sidebar */
.admin-sidebar {
  width: var(--admin-sidebar-w);
  background: #0F1C3F;
  color: #FFFFFF;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 100;
  box-shadow: 4px 0 15px rgba(0,0,0,0.1);
}
.admin-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.admin-sidebar-header img {
  height: 40px;
  width: auto;
}
.admin-menu {
  list-style: none;
  padding: 20px 10px;
  flex-grow: 1;
  overflow-y: auto;
}
.admin-menu li {
  margin-bottom: 4px;
}
.admin-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #94A3B8;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.admin-menu a:hover,
.admin-menu a.active {
  background: rgba(255,255,255,0.08);
  color: #FACC15;
}
.admin-menu a i { font-size: 18px; }

/* Admin Main Content Container */
.admin-main {
  margin-left: var(--admin-sidebar-w);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.admin-topbar {
  height: var(--admin-header-h);
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  position: sticky;
  top: 0;
  z-index: 90;
}
.admin-content {
  padding: 30px;
  flex-grow: 1;
}

/* Stat Cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.stat-card {
  background: #FFFFFF;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.stat-icon.navy { background: #EEF2FF; color: #4F46E5; }
.stat-icon.green { background: #ECFDF5; color: #10B981; }
.stat-icon.gold { background: #FEF3C7; color: #D97706; }
.stat-icon.red { background: #FEF2F2; color: #EF4444; }
.stat-info h3 { font-size: 26px; font-weight: 800; color: #0F172A; }
.stat-info p { font-size: 13px; color: #64748B; margin-top: 2px; }

/* Admin Data Tables */
.admin-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  margin-bottom: 30px;
}
.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #F1F5F9;
}
.admin-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.admin-table th {
  background: #F8FAFC;
  padding: 12px 16px;
  color: #475569;
  font-weight: 600;
  border-bottom: 1px solid #E2E8F0;
}
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
}
.admin-table tr:hover td {
  background: #F8FAFC;
}

/* Badges */
.badge-status {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}
.badge-unread { background: #FEF2F2; color: #DC2626; }
.badge-read { background: #F1F5F9; color: #475569; }
.badge-active { background: #DCFCE7; color: #16A34A; }

@media (max-width: 991px) {
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; }
}
