/* "Party" theme (2026-11-13): the PartyPad look. Same mechanism as the other theme-*.css files (html.theme-party, light + dark).
   Dark = deep charcoal panels with a pink-to-violet accent; light = soft cool grey with the same accent. Cards are rounder (1rem), and the
   primary buttons / active sidebar item (bg-zinc-900) get the pink-violet gradient. No layout change anywhere. */

html.theme-party:not(.dark) {
    --pt-bg: #f4f5fa;
    --pt-surface: #ffffff;
    --pt-surface-recessed: #f4f5fa;
    --pt-fill: #eceef6;
    --pt-fill-strong: #dfe2ee;
    --pt-border: #e4e7f1;
    --pt-border-soft: #edeff6;
    --pt-border-strong: #c9cedd;
    --pt-text-heading: #14161f;
    --pt-text-body: #4a5066;
    --pt-text-faint: #626878;
    --pt-accent: #e8387a;
    --pt-accent-solid: #ff5c93;
    --pt-accent-hover: #e8467f;
    --pt-hover-tint: rgba(255, 92, 147, 0.07);
    --pt-hover-tint-strong: rgba(255, 92, 147, 0.12);
    --pt-grad: linear-gradient(135deg, #ff5c93, #7c5cff);
    --pt-shadow: 0 1px 2px rgba(20, 22, 40, 0.05), 0 6px 18px rgba(20, 22, 40, 0.05);
    --focus-accent: var(--pt-accent);
    --focus-ring: rgba(255, 92, 147, 0.28);
    color-scheme: light;
}
html.theme-party.dark {
    --pt-bg: #0e1016;
    --pt-surface: #161923;
    --pt-surface-recessed: #0e1016;
    --pt-fill: #1f2330;
    --pt-fill-strong: #272c3c;
    --pt-border: #2b3040;
    --pt-border-soft: #20242f;
    --pt-border-strong: #3a4156;
    --pt-text-heading: #eceef6;
    --pt-text-body: #b4bacb;
    --pt-text-faint: #8b93a8;
    --pt-accent: #ff6fa3;
    --pt-accent-solid: #ff5c93;
    --pt-accent-hover: #ff7aa9;
    --pt-hover-tint: rgba(255, 92, 147, 0.1);
    --pt-hover-tint-strong: rgba(255, 92, 147, 0.17);
    --pt-grad: linear-gradient(135deg, #ff5c93, #7c5cff);
    --pt-shadow: none;
    --focus-accent: var(--pt-accent);
    --focus-ring: rgba(255, 92, 147, 0.3);
    color-scheme: dark;
}

/* Font: Plus Jakarta Sans (modern, friendly geometric sans; loaded in _Layout / ChangePassword / Login like the other themes' fonts). */
html.theme-party { font-family: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif !important; }
/* Shape: rounder cards and buttons, soft shadow in light mode, gradient on the primary buttons. */
html.theme-party body { color: var(--pt-text-heading); }
html.theme-party body.bg-white { background-color: var(--pt-bg) !important; background-image: none !important; }
html.theme-party .bg-white { background-color: var(--pt-surface) !important; }
html.theme-party .bg-zinc-50 { background-color: var(--pt-surface-recessed) !important; }
html.theme-party .bg-zinc-100 { background-color: var(--pt-fill) !important; }
html.theme-party .bg-zinc-200 { background-color: var(--pt-fill-strong) !important; }
html.theme-party .bg-zinc-900 { background-color: var(--pt-accent-solid) !important; }
html.theme-party .bg-zinc-700, html.theme-party .bg-zinc-800 { background-color: var(--pt-accent-hover) !important; }
html.theme-party .bg-zinc-900\/40 { background-color: rgba(0, 0, 0, 0.5) !important; }
html.theme-party .bg-zinc-50\/40, html.theme-party .bg-zinc-50\/50, html.theme-party .bg-zinc-50\/60 { background-color: var(--pt-hover-tint) !important; }
html.theme-party .bg-zinc-200\/60 { background-color: var(--pt-hover-tint-strong) !important; }
html.theme-party .text-zinc-700, html.theme-party .text-zinc-800, html.theme-party .text-zinc-900 { color: var(--pt-text-heading) !important; }
html.theme-party .text-zinc-500, html.theme-party .text-zinc-600 { color: var(--pt-text-body) !important; }
html.theme-party .text-zinc-300, html.theme-party .text-zinc-400 { color: var(--pt-text-faint) !important; }
html.theme-party .placeholder\:text-zinc-400::placeholder { color: var(--pt-text-faint) !important; }
html.theme-party .border-zinc-100 { border-color: var(--pt-border-soft) !important; }
html.theme-party .divide-zinc-100 > :not([hidden]) ~ :not([hidden]) { border-color: var(--pt-border-soft) !important; }
html.theme-party .border-zinc-200 { border-color: var(--pt-border) !important; }
html.theme-party .border-zinc-300 { border-color: var(--pt-border-strong) !important; }
html.theme-party .border-zinc-400 { border-color: var(--pt-accent) !important; }
html.theme-party .border-zinc-900 { border-color: var(--pt-accent-solid) !important; }
html.theme-party .ring-zinc-100 { --tw-ring-color: rgba(255, 92, 147, 0.12) !important; }
html.theme-party .ring-zinc-500\/10, html.theme-party .ring-zinc-900\/10 { --tw-ring-color: rgba(255, 92, 147, 0.2) !important; }
html.theme-party .hover\:bg-zinc-50:hover, html.theme-party .hover\:bg-zinc-100:hover, html.theme-party .hover\:bg-zinc-200:hover,
html.theme-party .hover\:bg-zinc-50\/40:hover, html.theme-party .hover\:bg-zinc-50\/50:hover, html.theme-party .hover\:bg-zinc-50\/60:hover { background-color: var(--pt-hover-tint) !important; }
html.theme-party .hover\:bg-zinc-200\/60:hover { background-color: var(--pt-hover-tint-strong) !important; }
html.theme-party .has-\[\:checked\]\:bg-zinc-50:has(:checked), html.theme-party .has-\[\:checked\]\:bg-zinc-100:has(:checked) { background-color: var(--pt-hover-tint) !important; }
html.theme-party .capa-nc-group:hover td { background-color: var(--pt-hover-tint-strong) !important; }
html.theme-party .capa-nc-group:hover td:first-child,
html.theme-party tbody:not(.capa-nc-group) tr:not([class*="hover:bg"]):hover td:first-child { box-shadow: inset 3px 0 0 0 var(--pt-accent) !important; }
html.theme-party tbody:not(.capa-nc-group) tr:not([class*="hover:bg"]):hover { background-color: var(--pt-hover-tint-strong) !important; }
html.theme-party .hover\:bg-zinc-700:hover, html.theme-party .hover\:bg-zinc-800:hover { background-color: var(--pt-accent-hover) !important; }
html.theme-party .hover\:text-zinc-600:hover { color: var(--pt-text-body) !important; }
html.theme-party .hover\:text-zinc-700:hover, html.theme-party .hover\:text-zinc-800:hover, html.theme-party .hover\:text-zinc-900:hover { color: var(--pt-text-heading) !important; }
html.theme-party .hover\:border-zinc-400:hover { border-color: var(--pt-accent) !important; }
html.theme-party .hover\:border-zinc-900:hover { border-color: var(--pt-accent-solid) !important; }
html.theme-party .focus\:border-zinc-400:focus { border-color: var(--pt-accent) !important; }
html.theme-party .focus\:ring-zinc-100:focus { --tw-ring-color: rgba(255, 92, 147, 0.15) !important; }
html.theme-party .focus\:ring-zinc-900:focus { --tw-ring-color: rgba(255, 92, 147, 0.25) !important; }
html.theme-party input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html.theme-party select, html.theme-party textarea { background-color: var(--pt-surface) !important; color: var(--pt-text-heading) !important; border-color: var(--pt-border) !important; }
html.theme-party input::placeholder, html.theme-party textarea::placeholder { color: var(--pt-text-faint) !important; }
html.theme-party input[type="checkbox"], html.theme-party input[type="radio"] { accent-color: var(--pt-accent-solid); }
html.theme-party.dark input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }
html.theme-party input[type="date"], html.theme-party input[type="time"], html.theme-party input[type="datetime-local"],
html.theme-party input[type="month"], html.theme-party input[type="week"] { color-scheme: inherit; }
html.theme-party ::-webkit-scrollbar-track { background: transparent; }
html.theme-party ::-webkit-scrollbar-thumb { background: var(--pt-border-strong); border-radius: 999px; }
html.theme-party ::-webkit-scrollbar-thumb:hover { background: var(--pt-accent); }
html.theme-party.dark .bg-amber-50, html.theme-party.dark .bg-amber-100 { background-color: rgba(245, 158, 11, 0.14) !important; }
html.theme-party.dark .text-amber-600, html.theme-party.dark .text-amber-700, html.theme-party.dark .text-amber-800 { color: #fbbf24 !important; }
html.theme-party.dark .bg-blue-50, html.theme-party.dark .bg-blue-100 { background-color: rgba(92, 157, 255, 0.16) !important; }
html.theme-party.dark .text-blue-600, html.theme-party.dark .text-blue-700, html.theme-party.dark .text-blue-800 { color: #7fb2ff !important; }
html.theme-party.dark .bg-emerald-50, html.theme-party.dark .bg-emerald-100 { background-color: rgba(16, 185, 129, 0.14) !important; }
html.theme-party.dark .text-emerald-600, html.theme-party.dark .text-emerald-700, html.theme-party.dark .text-emerald-800 { color: #34d399 !important; }
html.theme-party.dark .bg-red-50, html.theme-party.dark .bg-red-100 { background-color: rgba(239, 68, 68, 0.14) !important; }
html.theme-party.dark .text-red-600, html.theme-party.dark .text-red-700 { color: #f87171 !important; }
html.theme-party.dark .bg-violet-50 { background-color: rgba(139, 92, 246, 0.14) !important; }
html.theme-party.dark .text-violet-600, html.theme-party.dark .text-violet-700 { color: #a78bfa !important; }
html.theme-party.dark .bg-sky-50 { background-color: rgba(92, 157, 255, 0.14) !important; }
html.theme-party.dark .text-sky-600 { color: #7fb2ff !important; }
html.theme-party.dark .bg-teal-50 { background-color: rgba(20, 184, 166, 0.14) !important; }
html.theme-party.dark .text-teal-600, html.theme-party.dark .text-teal-700 { color: #2dd4bf !important; }
html.theme-party.dark .bg-rose-50 { background-color: rgba(244, 63, 94, 0.14) !important; }
html.theme-party.dark .text-rose-600 { color: #fb7185 !important; }
html.theme-party.dark .bg-orange-50 { background-color: rgba(249, 115, 22, 0.14) !important; }
html.theme-party.dark .text-orange-600, html.theme-party.dark .text-orange-700 { color: #fb923c !important; }
html.theme-party.dark .bg-indigo-50 { background-color: rgba(99, 102, 241, 0.14) !important; }
html.theme-party.dark .text-indigo-600 { color: #818cf8 !important; }

/* ---- Party shape and gradient ---- */
html.theme-party .rounded-xl { border-radius: 1rem !important; }
html.theme-party .rounded-2xl { border-radius: 1.25rem !important; }
html.theme-party button.rounded-lg, html.theme-party a.rounded-lg, html.theme-party .rounded-lg:is(input, select, textarea) { border-radius: 0.7rem !important; }
html.theme-party .rounded-md:is(button, a) { border-radius: 0.6rem !important; }
html.theme-party:not(.dark) #main-content .bg-white.rounded-xl, html.theme-party:not(.dark) #main-content .bg-white.rounded-2xl { box-shadow: var(--pt-shadow); }
/* the dark cards read through a thin border instead of a shadow */
html.theme-party.dark #main-content :is(.rounded-xl, .rounded-2xl).bg-white { border-color: var(--pt-border) !important; }
/* primary buttons, the active sidebar item, avatar and badges: pink-to-violet gradient */
html.theme-party .bg-zinc-900 { background-color: var(--pt-accent-solid) !important; background-image: var(--pt-grad) !important; color: #fff !important; }
html.theme-party .hover\:bg-zinc-700:hover, html.theme-party .hover\:bg-zinc-800:hover { background-color: var(--pt-accent-hover) !important; background-image: var(--pt-grad) !important; filter: brightness(1.08); }
html.theme-party .text-zinc-900.bg-zinc-900, html.theme-party .bg-zinc-900 > * { color: inherit; }
html.theme-party .fa-check.text-zinc-900 { color: var(--pt-accent) !important; }
