/*
 * Account + organizer pages (every page with .page-grid: the black sidebar + a content
 * column). Restyles the shared building blocks to match the dashboards
 * (PassOut-dashboard-user design / nb-dash.css): Inter Tight headings with a rust
 * eyebrow, white cards with an 18-22px radius on the page colour, the first KPI as a
 * black tile with an orange number, pill tabs / chips / search / buttons (primary =
 * black pill with an orange icon), dot status pills, 52px fields with an ink border +
 * soft orange ring on focus, and dashed empty states.
 *
 * Scope: .nb .page-grid > section - nothing outside the account area changes.
 * Loaded last (layouts/nb), after nb-mobile.css. Orange TEXT only on black (--acc-ink);
 * small text on light uses --p-rust (#A63B20 - AA on the page colour).
 */
.nb .page-grid > section {
  --p-rust: #A63B20; --p-black: #141414; --p-text2: #5E5650; --p-line: #EADFD6; --p-row: #F3ECE6; --p-field: #E4DCD5; --p-wash: #FBF7F3;
  min-width: 0;
}

/* ------------------------------------------------------------------ page header */
.nb .page-grid > section .head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 20px; margin-bottom: 24px; }
.nb .page-grid > section .head-row .eyebrow { display: block; margin: 0; font-family: var(--ff); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--p-rust); }
.nb .page-grid > section .head-row h1 { margin: 10px 0 8px; font-family: var(--fd); font-weight: 900; font-size: 40px; line-height: 1.02; letter-spacing: -.03em; color: var(--ink); }
.nb .page-grid > section .head-row p { margin: 0; max-width: 60ch; font-size: 16px; line-height: 1.5; color: var(--p-text2); }
.nb .page-grid > section .head-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ------------------------------------------------------------------ buttons */
.nb .page-grid > section .btn { border-radius: 999px; font-weight: 700; }
.nb .page-grid > section .btn.b-pri { border: 0; background: var(--p-black); color: #fff; }
.nb .page-grid > section .btn.b-pri svg { color: var(--acc); }
.nb .page-grid > section .btn.b-pri:hover { background: #2A2624; color: #fff; transform: none; }
.nb .page-grid > section .btn.b-sec, .nb .page-grid > section .btn.b-line { border: 1.5px solid var(--p-black); background: transparent; color: var(--ink); }
.nb .page-grid > section .btn.b-sec:hover, .nb .page-grid > section .btn.b-line:hover { background: var(--p-black); color: #fff; }
.nb .page-grid > section .btn.b-dark { background: var(--p-black); color: #fff; }
.nb .page-grid > section .nb-empty .btn.b-pri { background: var(--acc); color: var(--ink); }
.nb .page-grid > section .nb-empty .btn.b-pri svg { color: var(--ink); }
.nb .page-grid > section .nb-empty .btn.b-pri:hover { background: var(--p-black); color: #fff; }
.nb .page-grid > section .btn:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.nb .page-grid > section .text-link, .nb .page-grid > section .inline-link { color: var(--p-rust); }

/* ------------------------------------------------------------------ KPI cards (the first one is the black tile) */
.nb .page-grid > section .stats-row { gap: 14px; }
.nb .page-grid > section .stat-card { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border: 1px solid var(--p-line); border-radius: 18px; background: #fff; }
.nb .page-grid > section .stat-card strong { order: -1; font-family: var(--fd); font-weight: 900; font-size: clamp(24px, 2.3vw, 32px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.nb .page-grid > section .stat-card .stat-label { margin: 0; font-family: var(--ff); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--p-text2); }
.nb .page-grid > section .stat-card .stat-meta { margin: 0; font-size: 12.5px; color: var(--p-text2); }
.nb .page-grid > section .stat-card .stat-meta.tone-ok { color: #1E7A43; }
.nb .page-grid > section .stat-card .stat-meta.tone-warn { color: #8A5300; }
.nb .page-grid > section .stats-row > .stat-card:first-child { border-color: var(--p-black); background: var(--p-black); }
.nb .page-grid > section .stats-row > .stat-card:first-child strong { color: var(--acc-ink); }
.nb .page-grid > section .stats-row > .stat-card:first-child .stat-label,
.nb .page-grid > section .stats-row > .stat-card:first-child .stat-meta { color: #B9AFA7; }
.nb .page-grid > section .stats-row + .stats-row > .stat-card:first-child { border-color: var(--p-line); background: #fff; }
.nb .page-grid > section .stats-row + .stats-row > .stat-card:first-child strong { color: var(--ink); }
.nb .page-grid > section .stats-row + .stats-row > .stat-card:first-child .stat-label { color: var(--p-text2); }

/* ------------------------------------------------------------------ tabs + filter chips + search */
.nb .page-grid > section .tabs { gap: 8px; border: 0; }
.nb .page-grid > section .tab { height: 40px; padding: 0 16px; border: 1.5px solid var(--p-line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; }
.nb .page-grid > section .tab:hover { border-color: var(--p-black); }
.nb .page-grid > section .tab.active { border-color: var(--p-black); background: var(--p-black); color: var(--cream); }
.nb .page-grid > section .tab .count { margin-left: 6px; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--p-row); color: var(--ink); font-family: var(--ff); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; opacity: 1; }
.nb .page-grid > section .tab.active .count { background: var(--acc); color: var(--ink); opacity: 1; }
.nb .page-grid > section .chip span { border: 1.5px solid var(--p-line); background: #fff; color: var(--ink); font-weight: 700; }
.nb .page-grid > section .chip input:checked + span { border-color: var(--p-black); background: var(--p-black); color: var(--cream); }
.nb .page-grid > section .toolbar .search { height: 48px; padding: 0 6px 0 18px; border: 1.5px solid var(--p-black); border-radius: 999px; background: #fff; }
.nb .page-grid > section .toolbar .search:focus-within { outline: 0; border-color: var(--p-black); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 20%, transparent); }
.nb .page-grid > section .toolbar .search button { width: 38px; height: 38px; border-radius: 50%; background: var(--acc); color: var(--ink); }
.nb .page-grid > section .toolbar .search button:hover { background: var(--p-black); color: #fff; }
.nb .page-grid > section .toolbar select.select { border: 1.5px solid var(--p-line); border-radius: 999px; background-color: #fff; }
.nb .page-grid > section .toolbar-filters-btn { border-radius: 999px; }

/* ------------------------------------------------------------------ tables + rows */
.nb .page-grid > section .data-table { overflow: hidden; border: 1px solid var(--p-line); border-radius: 18px; background: #fff; box-shadow: none; }
.nb .page-grid > section .data-table .table-head { padding: 12px 20px; border-bottom: 1px solid var(--p-line); background: var(--p-wash); font-family: var(--ff); font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--p-text2); }
.nb .page-grid > section .data-table .table-body > * { padding: 14px 20px; border-bottom: 1px solid var(--p-row); }
.nb .page-grid > section .data-table .table-body > *:last-child { border-bottom: 0; }
.nb .page-grid > section .data-table .table-body > a:hover { background: #FFF9F4; }
.nb .page-grid > section .data-table.is-notched::before, .nb .page-grid > section .data-table.is-notched::after { display: none; }
.nb .page-grid > section .row-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.nb .page-grid > section .row-sub { font-size: 13px; color: var(--p-text2); }
.nb .page-grid > section .row-icon { border-radius: 12px; background: var(--p-black); color: var(--acc-ink); border: 0; }
.nb .page-grid > section .row-icon.tone-ok { background: #E6F4EA; color: #1E7A43; }
.nb .page-grid > section .row-icon.tone-warn { background: #FFF1DB; color: #8A5300; }
.nb .page-grid > section .row-amount strong { font-family: var(--fd); font-weight: 800; }

/* ------------------------------------------------------------------ status pills */
.nb .page-grid > section .status-badge { gap: 6px; height: 26px; padding: 0 10px; border: 0; border-radius: 999px; font-family: var(--ff); font-size: 12.5px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.nb .page-grid > section .status-badge::before { width: 7px; height: 7px; }
.nb .page-grid > section .status-badge.tone-ok { background: #E6F4EA; color: #1E7A43; }
.nb .page-grid > section .status-badge.tone-warn { background: #FFF1DB; color: #8A5300; }
.nb .page-grid > section .status-badge.tone-err { background: #FDE8E3; color: #B0321A; }
.nb .page-grid > section .status-badge.tone-neutral { background: #F1ECE7; color: var(--p-text2); }

/* ------------------------------------------------------------------ form cards + fields */
.nb .page-grid > section .form-card { overflow: hidden; border: 1px solid var(--p-line); border-radius: 22px; background: #fff; box-shadow: none; }
.nb .page-grid > section .form-section { padding: 24px 28px; }
.nb .page-grid > section .form-section + .form-section { border-top: 1px solid var(--p-row); }
.nb .page-grid > section .form-section > h2, .nb .page-grid > section .form-section > h3,
.nb .page-grid > section .form-card .section-title { font-family: var(--fd); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.nb .page-grid > section .field > label, .nb .page-grid > section .field .field-label { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: 0; text-transform: none; }
.nb .page-grid > section .field input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=range]),
.nb .page-grid > section .field select, .nb .page-grid > section .field textarea {
  min-height: 52px; border: 1.5px solid var(--p-field); border-radius: 14px; background-color: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.nb .page-grid > section .field input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=range]) { height: 52px; }
.nb .page-grid > section .field select { height: 52px; }
.nb .page-grid > section .field input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=range]):focus,
.nb .page-grid > section .field select:focus, .nb .page-grid > section .field textarea:focus {
  outline: 0; border-color: var(--p-black); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 20%, transparent);
}
.nb .page-grid > section .phone-in, .nb .page-grid > section .in-group, .nb .page-grid > section .id-in { height: 52px; border: 1.5px solid var(--p-field); border-radius: 14px; background: #fff; }
.nb .page-grid > section .phone-in:focus-within, .nb .page-grid > section .in-group:focus-within, .nb .page-grid > section .id-in:focus-within {
  outline: 0; border-color: var(--p-black); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 20%, transparent);
}
.nb .page-grid > section .phone-in input, .nb .page-grid > section .in-group input, .nb .page-grid > section .id-in input { height: 100% !important; min-height: 0 !important; border: 0 !important; box-shadow: none !important; }
.nb .page-grid > section .phone-in__prefix, .nb .page-grid > section .in-group__fix { background: var(--p-wash); border-color: var(--p-field); }
.nb .page-grid > section .field-static { min-height: 52px; border: 1.5px solid var(--p-row); border-radius: 14px; background: var(--p-wash); }
.nb .page-grid > section .field-static a { color: var(--p-rust); }

/* ------------------------------------------------------------------ empty states + pagination */
.nb .page-grid > section .nb-empty { padding: 40px 24px; border: 2px dashed #DCCFC4; border-radius: 22px; background: #fff; }
.nb .page-grid > section .data-table .nb-empty, .nb .page-grid > section .form-card .nb-empty { border: 0; border-radius: 0; }
.nb .page-grid > section .nb-empty h3 { margin: 0 0 6px; font-family: var(--fd); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.nb .page-grid > section .nb-empty p { color: var(--p-text2); }
.nb .page-grid > section .pagination .pages a, .nb .page-grid > section .pagination .pages button { border-radius: 999px; }
.nb .page-grid > section .pagination .pages a.active { border-color: var(--p-black); background: var(--p-black); color: var(--cream); }

/* ------------------------------------------------------------------ phones */
@media (max-width: 768px) {
  .nb .page-grid > section .head-row { margin-bottom: 18px; }
  .nb .page-grid > section .head-row h1 { font-size: 30px; }
  .nb .page-grid > section .head-row p { font-size: 15px; }
  .nb .page-grid > section .stats-row { gap: 10px; }
  .nb .page-grid > section .stat-card { padding: 14px; border-radius: 14px; }
  .nb .page-grid > section .stat-card strong { font-size: 24px; }
  .nb .page-grid > section .stat-card .stat-label { font-size: 12.5px; }
  .nb .page-grid > section .form-card { border-radius: 18px; }
  .nb .page-grid > section .form-section { padding: 18px 16px; }
  .nb .page-grid > section .data-table { border-radius: 16px; }
  .nb .page-grid > section .data-table .table-body > * { padding: 14px 16px; }
}

/* Four KPIs across (stats-row without cols-3): smaller numbers so "₹9,884.50" fits. */
@media (min-width: 769px) {
  .nb .page-grid > section .stats-row:not(.cols-3) .stat-card strong { font-size: clamp(20px, 1.75vw, 26px); }
}

/* ------------------------------------------------------------------ organizer tiles (x-nb.organizer-card)
   Used on /organizers, an event's page and Following - same card everywhere. */
.nb .org-tile { border: 1px solid #EADFD6; border-radius: 22px; background: #fff; box-shadow: none; transition: border-color .15s; }
.nb .org-tile:hover { border-color: #141414; }
.nb .org-tile-avatar img, .nb .org-tile-avatar .avatar { border-radius: 18px; }
.nb .org-tile-avatar .avatar { border: 0; background: var(--acc); color: var(--ink); font-family: var(--fd); font-weight: 900; }
.nb .org-tile-name { font-family: var(--fd); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.nb .org-tile-name:hover { color: #A63B20; }
.nb .org-tile .btn { border-radius: 999px; font-weight: 700; }
.nb .org-tile .btn.b-pri { border: 0; background: #141414; color: #fff; }
.nb .org-tile .btn.b-pri:hover { background: #2A2624; transform: none; }
.nb .org-tile .btn.b-sec { border: 1.5px solid #141414; background: transparent; color: var(--ink); }

/* ------------------------------------------------------------------ event wizard (organizer/event/wizard, nb-wizard.css) */
.nb .page-grid > section.ew .ew-head { margin: 0 0 22px; }
.nb .page-grid > section.ew .ew-head .eyebrow { font-family: var(--ff); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--p-rust); }
.nb .page-grid > section.ew .ew-head h1 { margin: 10px 0 0; font-family: var(--fd); font-weight: 900; font-size: 40px; line-height: 1.02; letter-spacing: -.03em; }
.nb .page-grid > section.ew .ew-saved { font-size: 13px; font-weight: 700; color: #1E7A43; }
/* the stepper, the same on every page it is on (wizard AND Participants, which loads nb-wizard.css after this file - hence "li", so these win there too); a state changes colour only, never the pill */
.nb .page-grid > section .ew-steps .ew-progress { gap: 10px; }
.nb .page-grid > section .ew-steps li .ew-progress__step { min-height: 52px; border: 1.5px solid var(--p-line); border-radius: 999px; background: #fff; color: var(--p-text2); font-weight: 700; }
.nb .page-grid > section .ew-steps li .ew-progress__step:hover { border-color: var(--p-black); color: var(--ink); }
.nb .page-grid > section .ew-steps li .ew-progress__num { width: 30px; height: 30px; border: 0; background: var(--p-row); color: var(--ink); font-family: var(--fd); font-weight: 900; }
.nb .page-grid > section .ew-steps li .ew-progress__step[aria-current] { border-color: var(--p-black); background: var(--p-black); color: var(--cream); }
.nb .page-grid > section .ew-steps li .ew-progress__step[aria-current] .ew-progress__num { background: var(--acc); color: var(--ink); }
.nb .page-grid > section .ew-steps li .ew-progress__step.is-done .ew-progress__num { background: var(--acc); color: var(--ink); }
.nb .page-grid > section .ew-steps li.has-error .ew-progress__step { border-color: var(--err); }
.nb .page-grid > section.ew .ew-h2 { font-family: var(--fd); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.nb .page-grid > section.ew .ew-tile { border: 1.5px solid var(--p-field); border-radius: 16px; background: #fff; font-weight: 700; }
.nb .page-grid > section.ew .ew-tile:hover { border-color: var(--p-black); }
.nb .page-grid > section.ew .ew-tile:has(input:checked) { border-color: var(--p-black); background: var(--p-black); color: var(--cream); }
.nb .page-grid > section.ew .ew-tile:has(input:checked) svg { color: var(--acc); }
.nb .page-grid > section.ew .ew-tile:has(input:focus-visible) { outline: 2px solid var(--acc); }
.nb .page-grid > section.ew .ew-card { border: 1.5px solid var(--p-field); border-radius: 18px; background: #fff; }
.nb .page-grid > section.ew .ew-card:hover { border-color: var(--p-black); }
.nb .page-grid > section.ew .ew-card:has(input:checked) { border-color: var(--p-black); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 18%, transparent); }
.nb .page-grid > section.ew .ew-checklist li { min-height: 48px; border: 1.5px solid var(--p-row); border-radius: 14px; background: #fff; }
.nb .page-grid > section.ew .ew-checklist .is-done .ew-checklist__icon { background: #1E7A43; }
.nb .page-grid > section.ew .ew-checklist .is-missing { border-color: #F09A84; background: #FFF6F3; }
.nb .page-grid > section.ew .ew-link { color: var(--p-rust); font-weight: 700; }
.nb .page-grid > section.ew .ew-dup { border: 1px dashed #DCCFC4; border-radius: 18px; background: #fff; }
.nb .page-grid > section.ew .ew-preview__empty { border: 2px dashed #DCCFC4; border-radius: 18px; background: #fff; color: var(--p-text2); }
.nb .page-grid > section.ew .ew-bar { border-color: var(--p-line); border-radius: 999px; background: #fff; box-shadow: 0 14px 30px -20px rgba(20,20,20,.35); }
@media (max-width: 768px) {
  .nb .page-grid > section.ew .ew-head h1 { font-size: 30px; }
  .nb .page-grid > section .ew-steps li .ew-progress__step { min-height: 46px; padding: 4px 8px; font-size: 13px; }
  .nb .page-grid > section .ew-steps li .ew-progress__num { width: 26px; height: 26px; }
  .nb .page-grid > section.ew .ew-bar { border-radius: 0; box-shadow: 0 -8px 24px -18px rgba(20,20,20,.4); }
}

/* ------------------------------------------------------------------ a pass (user/event/ticket/details)
   Title row, the pass on its blurred stage, round-cornered action
   tiles (black on hover), the tip, and "Booking details" as a white card. */
.nb .tkv-page .tkv-head { margin-bottom: 4px; }
.nb .tkv-page .tkv-head .text-link { color: var(--p-text2, #5E5650); font-weight: 700; }
.nb .tkv-page .tkv-title h1 { font-size: 36px; }
.nb .tkv-page .xpass-stage { border-radius: 22px; }
.nb .tkv-page .tkv-actions { gap: 10px; max-width: 420px; }
.nb .tkv-page .tkv-actions a, .nb .tkv-page .tkv-actions button {
  min-height: 72px; border: 1.5px solid #EADFD6; border-radius: 18px; background: #fff; font-size: 13px; font-weight: 700;
  transition: background .15s, border-color .15s, color .15s;
}
.nb .tkv-page .tkv-actions svg { color: var(--rust); }
.nb .tkv-page .tkv-actions a:hover, .nb .tkv-page .tkv-actions button:hover { border-color: #141414; background: #141414; color: #fff; }
.nb .tkv-page .tkv-actions a:hover svg, .nb .tkv-page .tkv-actions button:hover svg { color: var(--acc); }
.nb .tkv-page .tkv-actions a:focus-visible, .nb .tkv-page .tkv-actions button:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.nb .tkv-page .tkv-tip { max-width: 420px; padding: 12px 44px 12px 14px; border: 1px dashed #DCCFC4; border-radius: 14px; background: #fff; color: var(--p-text2, #5E5650); }
.nb .tkv-page .tkv-tip svg { color: var(--rust); }
.nb .tkv-page .tkv-more { max-width: 420px; border: 1px solid #EADFD6 !important; border-radius: 18px !important; background: #fff !important; box-shadow: none !important; }
.nb .tkv-page .tkv-more summary { min-height: 56px; font-family: var(--fd); font-weight: 800; font-size: 17px; }
.nb .tkv-page .pass-summary__total strong { font-family: var(--fd); font-weight: 900; font-size: 20px; }
.nb .tkv-page .tkv-confirm { border-radius: 18px; }
@media (max-width: 768px) {
  .nb .tkv-page .tkv-title h1 { font-size: 28px; }
  .nb .tkv-page .xpass-stage { border-radius: 18px; }
}

/* buyer Notifications: the message as readable text (App\Support\NotificationMessage), not the email's code */
.nb .nt-msg { font-size: 14px; line-height: 1.55; color: var(--ink-2); overflow-wrap: anywhere; }
.nb .nt-msg p { margin: 0 0 8px; }
.nb .nt-msg p:last-child { margin-bottom: 0; }
.nb .nt-msg strong { color: var(--ink); font-weight: 600; }
.nb .nt-msg a { color: var(--acc-d, #C94F2E); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* organiser booking page: "Send the refund" (the organiser sends it and records the UTR) */
.nb .rf-send { border-color: var(--warn, #986405); }
.nb .rf-send__title { margin: 0 0 10px; font-size: 18px; }
.nb .rf-send__steps { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; color: var(--ink-2); }
.nb .rf-send__form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px 16px; align-items: start; margin-top: 16px; }
.nb .rf-send__form .field { margin: 0; min-width: 0; }
.nb .rf-send__actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
@media (max-width: 767.98px) {
  .nb .rf-send__form { grid-template-columns: minmax(0, 1fr); }
  .nb .rf-send__actions .btn, .nb .rf-send__actions button { width: 100%; }
}
