/* ==========================================================================
   Admin & Committee Dashboard Styles (Light Theme Workspace)
   ========================================================================== */

.wing-tabs-container {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
}

.wing-tab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.wing-tab-btn:hover {
  color: var(--text-main);
  border-color: var(--brand-primary);
}

.wing-tab-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

/* Floor matrix row */
.floor-row-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}

.floor-badge {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: #ea580c;
  width: 85px;
  flex-shrink: 0;
}

.floor-units-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
}

.unit-capsule {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  min-width: 140px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.unit-capsule:hover {
  border-color: var(--brand-primary);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.unit-capsule.dues-pending {
  border-left: 3px solid var(--danger);
  background: #fff5f5;
}

.unit-header-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.86rem;
}

.unit-owner-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* Defaulter Banner */
.defaulter-highlight-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.defaulter-info-left h3 {
  color: #dc2626;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.defaulter-info-left p {
  font-size: 0.84rem;
  color: #7f1d1d;
}

/* Complaints Kanban */
.complaints-board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.kanban-col {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}

.kanban-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 700;
  font-size: 0.9rem;
}

.ticket-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.ticket-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.ticket-priority-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.ticket-priority-tag.urgent { background: #fee2e2; color: #b91c1c; }
.ticket-priority-tag.high { background: #fef3c7; color: #b45309; }
.ticket-priority-tag.medium { background: #e0f2fe; color: #0369a1; }
.ticket-priority-tag.low { background: #f1f5f9; color: #64748b; }

/* Notices Admin */
.notices-grid-admin {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.notice-admin-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.notice-admin-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.notice-admin-card.pinned {
  border-top: 3px solid var(--brand-primary);
}

.notice-pinned-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #ea580c;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Parking Slots Matrix */
.parking-zones-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.parking-zone-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.parking-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.parking-slot-item {
  height: 60px;
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  background: #f8fafc;
  transition: var(--transition-fast);
}

.parking-slot-item.occupied {
  border-style: solid;
  border-color: #86efac;
  background: #f0fdf4;
  color: #15803d;
}

.parking-slot-item.ev-slot {
  border-color: #7dd3fc;
  background: #f0f9ff;
  color: #0369a1;
}

.audit-chip {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 2px 6px;
  background: #f1f5f9;
  border-radius: 4px;
  color: var(--text-secondary);
}
