/* =========================================================
   Confirm Naukri — CORE (shared by website, dashboard, admin)
   Tokens · base · buttons · forms · badges · alerts · tables ·
   modal · toast · pagination · utilities
========================================================= */
:root {
  --navy: #0b1222;
  --navy-2: #111b31;
  --navy-3: #18233d;
  --teal: #22c396;
  --teal-600: #16a47c;
  --teal-dark: #13956f;
  --teal-soft: #e8f8f1;
  --teal-line: #cdeedf;
  --blue: #2f6fed;
  --blue-soft: #edf3ff;
  --amber: #f59e0b;
  --amber-soft: #fff5e3;
  --red: #e0574c;
  --red-soft: #fdeeec;
  --violet: #7c5cf5;
  --violet-soft: #f2eeff;
  --ink: #0f172a;
  --ink-2: #344054;
  --muted: #5b6474;
  --muted-2: #8a94a6;
  --line: #e7eaf0;
  --line-2: #d8dde6;
  --soft: #f6f8fb;
  --soft-2: #eef2f7;
  --white: #fff;
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow: 0 12px 30px -12px rgba(15, 23, 42, .18), 0 2px 6px rgba(15, 23, 42, .04);
  --shadow-lg: 0 30px 60px -20px rgba(11, 18, 34, .35);
  --ring: 0 0 0 4px rgba(34, 195, 150, .22);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  --nav-h: 68px;
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--body); font-size: 15px; line-height: 1.6; color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--head); letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
::selection { background: rgba(34, 195, 150, .25); }
[hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; min-height: 46px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2;
  white-space: nowrap; border: 1px solid transparent; cursor: pointer; user-select: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s, opacity .2s;
}
.btn i { font-size: 18px; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:hover .ri-arrow-right-line { transform: translateX(3px); }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }
.btn-sm { min-height: 36px; padding: 7px 14px; font-size: 13.5px; }
.btn-sm i { font-size: 16px; }
.btn-lg { min-height: 54px; padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-square { border-radius: 12px; }
.btn-primary { background: linear-gradient(180deg, #2fd6a6, var(--teal)); color: #042a1f; box-shadow: 0 8px 20px -8px rgba(34, 195, 150, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover { background: linear-gradient(180deg, #35dcad, #1fb88d); box-shadow: 0 12px 26px -10px rgba(34, 195, 150, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-dark { background: var(--navy); color: #fff; box-shadow: 0 10px 22px -12px rgba(11, 18, 34, .6); }
.btn-dark:hover { background: var(--navy-3); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--line-2); background: var(--soft); }
.btn-soft { background: var(--teal-soft); color: var(--teal-dark); }
.btn-soft:hover { background: #dcf4e9; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #cc4338; }
.btn-danger-soft { background: var(--red-soft); color: #b42318; }
.btn-link { background: none; color: var(--teal-dark); padding: 0; min-height: 0; border-radius: 6px; }
.btn-link:hover { transform: none; text-decoration: underline; }
.btn-white { background: #fff; color: var(--ink); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading > * { visibility: hidden; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; font-size: 19px;
  background: var(--soft); color: var(--ink-2); border: 1px solid var(--line); transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: var(--soft-2); }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field > label, .label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.label .opt { color: var(--muted-2); font-weight: 500; }
.req { color: var(--red); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font-size: 15px; color: var(--ink); background: #fff;
  border: 1.5px solid #e1e5ec; border-radius: 12px; transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.select {
  padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath fill='%235b6474' d='M12 15.5 6.5 10l1.4-1.4 4.1 4.1 4.1-4.1 1.4 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.input::placeholder, .textarea::placeholder { color: #98a2b3; }
.input:hover, .select:hover, .textarea:hover { border-color: #cbd2dc; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--teal); box-shadow: var(--ring); }
.input[readonly] { background: var(--soft); }
.is-invalid, .is-invalid:focus { border-color: #e5484d !important; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12) !important; }
.error-text { display: flex; gap: 5px; align-items: flex-start; color: #d92d20; font-size: 13px; margin-top: 6px; line-height: 1.4; }
.help-text { color: var(--muted); font-size: 12.5px; margin-top: 6px; line-height: 1.5; }
.input-ic { position: relative; }
.input-ic > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #98a2b3; font-size: 18px; pointer-events: none; transition: color .2s; }
.input-ic > .input { padding-left: 42px; }
.input-ic:focus-within > i { color: var(--teal-dark); }
.input-group { display: flex; gap: 8px; }
.input-group .prefix {
  flex: none; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 12px; background: var(--soft);
  border: 1.5px solid #e1e5ec; font-weight: 600; color: var(--ink-2); min-height: 48px;
}
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 50px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); font-size: 19px; }
.pw-toggle:hover { background: var(--soft); }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal); flex: none; cursor: pointer; }
.check a { color: var(--teal-dark); font-weight: 600; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14px; font-weight: 500; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 44px; height: 26px; border-radius: 99px; background: #d0d5dd; position: relative; transition: background-color .25s; flex: none; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.switch input:checked + .track { background: var(--teal); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { box-shadow: var(--ring); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-opt { position: relative; }
.pill-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill-opt span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border-radius: 12px;
  border: 1.5px solid #e1e5ec; font-weight: 600; font-size: 14px; color: var(--ink-2); background: #fff; transition: all .2s;
}
.pill-opt input:checked + span { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-dark); }
.pill-opt input:focus-visible + span { box-shadow: var(--ring); }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.file-drop {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1.5px dashed #cfd5df;
  background: var(--soft); cursor: pointer; transition: border-color .2s, background-color .2s; position: relative;
}
.file-drop:hover, .file-drop.drag { border-color: var(--teal); background: #f2fbf7; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop .fd-ic { width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--teal-dark); font-size: 20px; border: 1px solid var(--line); flex: none; }
.file-drop strong { display: block; font-size: 14px; }
.file-drop small { color: var(--muted); font-size: 12.5px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap; background: var(--soft-2); color: var(--ink-2);
}
.badge i { font-size: 13px; }
.badge-ok, .badge-gov { background: var(--teal-soft); color: var(--teal-dark); }
.badge-info { background: var(--blue-soft); color: #2152c4; }
.badge-warn { background: var(--amber-soft); color: #b45309; }
.badge-danger, .badge-urgent { background: var(--red-soft); color: #b42318; }
.badge-muted { background: var(--soft-2); color: var(--muted); }
.badge-semi { background: var(--violet-soft); color: #5b3fd6; }
.badge-new { background: #fff0f3; color: #d0265f; }
.badge-dark { background: var(--navy); color: #fff; }
.badge-sample { background: #fff4d6; color: #92400e; border: 1px dashed #f5c26b; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ---------- Alerts ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 14px; line-height: 1.55; border: 1px solid transparent; }
.alert > i { font-size: 20px; flex: none; margin-top: -1px; }
.alert strong { font-weight: 700; }
.alert-info { background: #f4f7ff; border-color: #dfe7fb; color: #1f3b7a; }
.alert-ok { background: #f1fbf6; border-color: var(--teal-line); color: #0f5f47; }
.alert-warn { background: #fff8ec; border-color: #f8e2b8; color: #7a4a00; }
.alert-danger { background: #fef3f2; border-color: #fcd5d0; color: #912018; }
.alert a { font-weight: 700; text-decoration: underline; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.card-pad { padding: 22px; }
@media (min-width: 640px) { .card-pad { padding: 26px; } }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.card-head h2, .card-head h3 { font-size: 17px; font-weight: 800; }
.card-body { padding: 22px; }
.card-foot { padding: 14px 22px; border-top: 1px solid var(--line); background: #fcfcfd; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

/* ---------- Tables ---------- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 12px 16px; background: #fafbfc; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background-color .15s; }
.table tbody tr:hover { background: #fbfcfd; }
.table .t-strong { font-weight: 600; color: var(--ink); }
.table .t-sub { display: block; color: var(--muted); font-size: 12.5px; }
.table .t-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: nowrap; }
@media (max-width: 720px) {
  .table-stack thead { display: none; }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
  .table-stack tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .table-stack td { padding: 4px 0; border: none; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .table-stack td::before { content: attr(data-label); font-size: 12px; font-weight: 600; color: var(--muted); text-align: left; }
  .table-stack td.t-main { display: block; text-align: left; }
  .table-stack td.t-main::before { display: none; }
  .table-stack .t-actions { justify-content: flex-start; }
}

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; border: 1px solid var(--line); background: #fff; color: var(--ink-2); transition: all .2s;
}
.pagination a:hover { border-color: var(--teal); color: var(--teal-dark); }
.pagination .active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .disabled { opacity: .45; }
.pagination .dots { border: none; background: none; min-width: 20px; }
.pagination-info { text-align: center; color: var(--muted); font-size: 13px; margin-top: 10px; }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 44px 20px; }
.empty .e-ic { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 22px; display: grid; place-items: center; font-size: 32px; background: var(--soft); color: var(--muted-2); border: 1px solid var(--line); }
.empty h3 { font-size: 18px; font-weight: 800; }
.empty p { color: var(--muted); margin: 6px auto 18px; max-width: 420px; font-size: 14.5px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(11, 18, 34, .55); opacity: 0; transition: opacity .25s; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.modal.open .modal-backdrop { opacity: 1; }
.modal-box {
  position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 22px;
  box-shadow: var(--shadow-lg); transform: translateY(16px) scale(.98); opacity: 0; transition: transform .3s var(--ease), opacity .25s;
}
.modal-lg .modal-box { max-width: 720px; }
.modal.open .modal-box { transform: none; opacity: 1; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px 0; }
.modal-head h3 { font-size: 19px; font-weight: 800; }
.modal-body { padding: 16px 22px 22px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 0 22px 22px; flex-wrap: wrap; }
.modal-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 25px; margin-bottom: 12px; background: var(--red-soft); color: #d92d20; }
.modal-ic.ok { background: var(--teal-soft); color: var(--teal-dark); }
body.modal-open { overflow: hidden; }
@media (max-width: 560px) {
  .modal { align-items: flex-end; padding: 0; }
  .modal-box { border-radius: 22px 22px 0 0; max-height: 92vh; padding-bottom: env(safe-area-inset-bottom, 0); }
  .modal-foot .btn { flex: 1; }
}

/* ---------- Toast ---------- */
.toasts { position: fixed; z-index: 150; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; width: calc(100% - 32px); max-width: 440px; pointer-events: none; }
.toast {
  display: flex; align-items: flex-start; gap: 10px; background: var(--navy); color: #fff; padding: 13px 14px 13px 16px; border-radius: 14px;
  font-size: 14px; font-weight: 500; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45); pointer-events: auto;
  animation: toastIn .35s var(--ease) both; line-height: 1.45;
}
.toast.out { animation: toastOut .3s var(--ease) both; }
.toast > i { font-size: 19px; flex: none; }
.toast .t-msg { flex: 1; }
.toast .t-close { color: #9aa6ba; font-size: 17px; margin-left: 4px; }
.toast-success > i { color: var(--teal); }
.toast-error > i { color: #ff8a80; }
.toast-info > i { color: #8fb3ff; }
.toast-warning > i { color: #fbbf24; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
@media (min-width: 900px) { .toasts { left: auto; right: 24px; transform: none; bottom: 24px; } }

/* ---------- Dropdown ---------- */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; z-index: 80; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a, .dropdown-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--ink-2); text-align: left;
}
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--soft); color: var(--ink); }
.dropdown-menu i { font-size: 18px; color: var(--muted); }
.dropdown-menu hr { border: none; border-top: 1px solid var(--line); margin: 6px 0; }
.dropdown-menu .dm-head { padding: 10px 12px 8px; }
.dropdown-menu .dm-head strong { display: block; font-size: 14px; }
.dropdown-menu .dm-head small { color: var(--muted); font-size: 12.5px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a, .tabs button { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: all .2s; }
.tabs a:hover, .tabs button:hover { color: var(--ink); }
.tabs .active { background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); }
.tabs .count { font-size: 11.5px; padding: 1px 7px; border-radius: 99px; background: var(--soft-2); color: var(--muted); }
.tabs .active .count { background: var(--teal-soft); color: var(--teal-dark); }

/* ---------- Progress ---------- */
.progress { height: 8px; border-radius: 99px; background: #eaeef3; overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--teal), var(--blue)); transition: width 1s var(--ease); }
.ring { --p: 0; --c: var(--teal); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), #eaeef3 0); position: relative; flex: none; }
.ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.ring b { position: relative; font-family: var(--head); font-size: 16px; font-weight: 800; }

/* ---------- Utilities ---------- */
.muted { color: var(--muted); }
.small { font-size: 13px; }
.text-center { text-align: center; }
.mt-1 { margin-top: 6px; } .mt-2 { margin-top: 12px; } .mt-3 { margin-top: 18px; } .mt-4 { margin-top: 24px; } .mt-5 { margin-top: 36px; }
.mb-2 { margin-bottom: 12px; } .mb-3 { margin-bottom: 18px; } .mb-4 { margin-bottom: 24px; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-2 { gap: 8px; } .gap-3 { gap: 14px; } .wrap-flex { flex-wrap: wrap; }
.w-100 { width: 100%; }
.nowrap { white-space: nowrap; }
.divider { border: none; border-top: 1px solid var(--line); margin: 20px 0; }
.kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; background: var(--soft-2); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); word-break: break-all; }
.copy-field { display: flex; gap: 8px; }
.copy-field .input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; display: inline-grid; place-items: center; font-weight: 700; font-size: 14px; background: linear-gradient(145deg, #3be0b1, #16a47c); color: #fff; font-family: var(--head); }
.avatar-lg { width: 84px; height: 84px; font-size: 28px; }
.avatar-sm { width: 32px; height: 32px; font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media print {
  .no-print, header, footer, .toasts, .sticky-cta, .dash-side { display: none !important; }
  body { background: #fff; }
}
@media (max-width: 480px) { .hide-sm { display: none !important; } }
@media (max-width: 959px) { .hide-md { display: none !important; } }

/* ---- Brand logo (transparent PNG icon + wordmark) ---- */
.brand { display: inline-flex; align-items: center; gap: 10px; line-height: 0; }
.brand-icon { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 4px 10px rgba(16, 185, 140, .25)); }
.brand-word { height: 22px; width: auto; }
.brand--auto .brand-word--dark { display: none; }
.nav-light header.nav .brand--auto .brand-word--light { display: none; }
.nav-light header.nav .brand--auto .brand-word--dark { display: block; }
@media (max-width: 480px) {
  .brand { gap: 8px; }
  .brand-icon { width: 34px; height: 34px; }
  .brand-word { height: 18px; }
}

/* Developer credit (official Nexgino logo) */
.co-credit { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; transition: opacity .15s; }
.co-credit img { display: block; width: auto; height: 44px; max-width: 100%; }
.co-credit:hover { opacity: .85; }
.co-credit-row { display: flex; justify-content: center; margin-top: 18px; }
