/* Admin shell surfaces: complete dark-mode coverage, overview contrast, ticket status pills and the authentication splash. One of the shell
  stylesheets; they load in the shell's order, which keeps the cascade. */


/* ════════════════════════════════════════
 *  IT4Y_DARK_MODE_COMPREHENSIVE_V1 — Complete dark-mode coverage
 *  Sidebar + header already worked. This fills every other surface.
 * ════════════════════════════════════════ */

/* Body bg in dark mode (page background behind cards) */

/* Generic card surface */
body.dark .card,
body.dark .panel,
body.dark .it4dash,
body.dash[data-theme="dark"] .card,
html[data-theme="dark"] .card {
  background: #111827 !important;
  border-color: #1f2937 !important;
  color: #e5e7eb !important;
}






/* Dark mode banner background */

/* "More" / "Less" button */
.it4y-banner-toggle {
  background: transparent !important;
  border: 1px solid var(--border, #d1d5db) !important;
  color: var(--text-dim, #6b7280) !important;
  padding: 3px 10px !important;
  font-size: 11px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  margin-left: auto !important;
}
.it4y-banner-toggle:hover {
  background: rgba(34,160,255,.08) !important;
  color: var(--accent) !important;
  border-color: var(--accent) !important;
}

.it4y-banner-dismiss:hover { background: rgba(239,68,68,.12) !important; color: #ef4444 !important; }


/* end IT4Y_TKT_BANNER_COLLAPSE_V1 */

/* ════════════════════════════════════════
 *  IT4Y_ADMIN_OVERVIEW_CONTRAST_V1 — fix Overview status-pills + numbers
 * ════════════════════════════════════════ */

/* Card text + numbers in dark mode */

/* Status pills baseline (all variants) */

/* Specific status colors — keep semantic intent in dark */

/* Status pill provider hue (Yotta blue, Hetzner red, Manual gray, Mock teal) */

/* Overview "Subscriptions by status" etc. cards — force number-column readable */

/* Row spacing in those cards (numbers right-aligned, pills left) */

/* end IT4Y_ADMIN_OVERVIEW_CONTRAST_V1 */

/* ════════════════════════════════════════
 *  IT4Y_ADMIN_TICKET_PILLS_V1 — Make ticket status pills readable in dark
 * ════════════════════════════════════════ */

/* Universal ticket-row pill styling */

/* Status: Resolved (green) */

/* Status: Open (blue) */

/* Status: Pending Customer (amber) */

/* Status: On Hold (gray) */

/* Status: Closed (slate) */

/* Department / priority pills — common departments and priorities */

/* end IT4Y_ADMIN_TICKET_PILLS_V1 */

#it4y-auth-splash{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:var(--bg,#f8fafc);z-index:60}
  .it4y-splash-spin{width:34px;height:34px;border:3px solid rgba(37,99,235,.18);border-top-color:#2563eb;border-radius:50%;
  animation:it4y-spin .7s linear infinite;margin:0 auto 14px}@keyframes it4y-spin{to{transform:rotate(360deg)}}

/* The delete confirmation inside a note's own row (admin-shell-notes.js, design proposal 61). */
.note-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.note-confirm[hidden] { display: none; }
