/* ============================================================
   Drive Klean — Franchise Dashboard Styles (v8 Redesign)
   Reuses admin.css layout styles, adds franchise-specific overrides.
   ============================================================ */

/* ============ UNREAD BADGE IN SIDEBAR ============ */
.dk-unread-badge {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 700;
  background: #ef4444;
  color: #fff;
  border-radius: 999px;
  text-align: center;
  margin-left: auto;
}

/* ============ NOTIFICATION ITEM (light theme) ============ */
.dk-notification-item {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  align-items: flex-start;
  transition: 0.2s;
}

.dk-notification-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.dk-notification-item.unread {
  border-left: 3px solid #3b82f6;
  background: linear-gradient(90deg, rgba(59,130,246,0.04), #fff 30%);
}

.dk-notification-icon { font-size: 18px; margin-top: 2px; }

.dk-notification-body { flex: 1; }
.dk-notification-body b { display: block; font-size: 13.5px; color: #1e293b; margin-bottom: 4px; }
.dk-notification-body p { font-size: 12.5px; color: #64748b; margin: 0 0 4px; white-space: pre-line; }
.dk-notification-time { font-size: 11px; color: #94a3b8; }

/* ============ AREA CARD (light theme) ============ */
.dk-area-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  transition: 0.2s;
}

.dk-area-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.dk-area-card h4 { font-family: var(--ff-display); color: #3b82f6; font-size: 15px; margin-bottom: 6px; }
.dk-area-card p { font-size: 12.5px; color: #64748b; margin: 2px 0; }

.dk-pincode-tag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(59,130,246,0.1);
  color: #3b82f6;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
}

/* ============ AREAS GRID ============ */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

/* ============ REPORT CARDS (light theme) ============ */
.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.report-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
}

.report-card b {
  display: block;
  font-family: var(--ff-display);
  font-size: 22px;
  color: #3b82f6;
  margin-bottom: 4px;
}

.report-card span {
  font-size: 12px;
  color: #64748b;
}

/* ============ STAFF ITEM (light theme) ============ */
.dk-staff-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  transition: 0.2s;
}

.dk-staff-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

.dk-staff-info b { color: #1e293b; font-size: 14px; }
.dk-staff-info span { color: #64748b; font-size: 12.5px; display: block; margin-top: 2px; }
