/* ==========================================================================
   FEATURE: ADMIN HOME
   ========================================================================== */

.admin-home-shell {
  display: grid;
  gap: 24px;
}

.admin-home-title {
  color: var(--glass-text-on-light);
}

.admin-home-subtitle {
  color: var(--glass-text-muted-light);
}

.admin-home-kpi,
.admin-home-panel,
.admin-home-note {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.44);
  backdrop-filter: blur(var(--glass-blur-card));
  -webkit-backdrop-filter: blur(var(--glass-blur-card));
  box-shadow: var(--glass-shadow-soft);
}

.admin-home-panel-head h2,
.admin-home-activity-copy strong,
.admin-home-alert strong,
.admin-home-note strong {
  color: var(--glass-text-on-light);
}

.admin-home-panel-head span,
.admin-home-activity-copy small,
.admin-home-alert small,
.admin-home-note small,
.admin-home-activity time,
.admin-home-note span {
  color: var(--glass-text-muted-light);
}

.admin-home-activity {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--glass-text-on-light);
}

.admin-home-empty {
  background: rgba(255, 255, 255, 0.36);
  color: var(--glass-text-muted-light);
}

.admin-home-alert.tone-warning {
  background: rgba(255, 243, 205, 0.76);
}

.admin-home-alert.tone-critical {
  background: rgba(254, 226, 226, 0.76);
}

.admin-home-alert.tone-info,
.admin-home-alert.tone-ok {
  background: rgba(219, 234, 254, 0.76);
}

html[data-theme="solid"] .admin-home-shell {
  gap: 24px;
}

html[data-theme="solid"] .admin-home-shell .metric-widget {
  background: linear-gradient(180deg, #fcfdff 0%, #f7f9fc 100%) !important;
  background-image: none !important;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius-lg) + 2px);
  box-shadow: var(--shadow-sm) !important;
  min-height: 104px;
  padding: 14px 16px;
}

html[data-theme="solid"] .admin-home-panel,
html[data-theme="solid"] .admin-home-note {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fcfdff 0%, #f8fafc 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--shadow-sm);
}

html[data-theme="solid"] .admin-home-panel-head {
  border-bottom-color: var(--color-border);
}

html[data-theme="solid"] .admin-home-panel-head h2,
html[data-theme="solid"] .admin-home-activity-copy strong,
html[data-theme="solid"] .admin-home-alert strong,
html[data-theme="solid"] .admin-home-note strong {
  color: var(--text-primary);
}

html[data-theme="solid"] .admin-home-panel-head span,
html[data-theme="solid"] .admin-home-activity-copy small,
html[data-theme="solid"] .admin-home-alert small,
html[data-theme="solid"] .admin-home-note small,
html[data-theme="solid"] .admin-home-activity time,
html[data-theme="solid"] .admin-home-note span {
  color: var(--text-secondary);
}

html[data-theme="solid"] .admin-home-activity,
html[data-theme="solid"] .admin-home-alert {
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
}

html[data-theme="solid"] .admin-home-activity:hover,
html[data-theme="solid"] .admin-home-alert:hover {
  background: var(--color-bg-muted) !important;
}

html[data-theme="solid"] .admin-home-activity-list {
  gap: 0.9rem;
}

html[data-theme="solid"] .admin-home-alert-list {
  gap: 0.9rem;
}

html[data-theme="solid"] .admin-home-shell .metric-widget__value {
  font-size: clamp(1.55rem, 1.8vw, 2.2rem);
}

html[data-theme="solid"] .admin-home-shell .metric-widget__meta {
  margin-top: 0.5rem;
}

html[data-theme="solid"] .admin-home-panel-head {
  padding-bottom: 1rem;
}

html[data-theme="solid"] .admin-home-alert.tone-warning {
  background: #fdf5dd;
  border-color: rgba(245, 158, 11, 0.18);
}

html[data-theme="solid"] .admin-home-alert.tone-critical {
  background: #fce7e7;
  border-color: rgba(239, 68, 68, 0.18);
}

html[data-theme="solid"] .admin-home-alert.tone-info,
html[data-theme="solid"] .admin-home-alert.tone-ok {
  background: #eaf3fb;
  border-color: rgba(59, 130, 246, 0.18);
}

html[data-theme="solid"] .admin-home-modal-scrim {
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: none;
}

html[data-theme="solid"] .admin-home-modal-card {
  border-radius: calc(var(--radius-lg) + 6px);
  background: #fcfdff;
}
