.pxc-app,
.pxc-app * { box-sizing: border-box; }

.pxc-app {
  --pxc-night: #05071b;
  --pxc-night-2: #0a0e2c;
  --pxc-blue: #087cff;
  --pxc-blue-light: #22a1ff;
  --pxc-violet: #6838ff;
  --pxc-paper: #f3f6fb;
  --pxc-ink: #10152e;
  --pxc-muted: #727991;
  --pxc-line: #dfe4ef;
  position: relative;
  display: grid;
  width: 100%;
  min-height: 860px;
  grid-template-columns: 255px minmax(0, 1fr);
  overflow: hidden;
  color: var(--pxc-ink);
  background: var(--pxc-paper);
  border: 1px solid #dce2ef;
  border-radius: 18px;
  font-family: Inter, Arial, Helvetica, sans-serif;
  box-shadow: 0 25px 80px rgba(9, 18, 54, .13);
}

.pxc-app button,
.pxc-app input,
.pxc-app select,
.pxc-app textarea { font: inherit; }

.pxc-app button { cursor: pointer; }

.pxc-sidebar {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 31px 22px 24px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 40px 80px, rgba(8,124,255,.2), transparent 155px),
    radial-gradient(circle at 120% 70%, rgba(104,56,255,.2), transparent 240px),
    linear-gradient(155deg, #080a24 0%, #020414 78%);
  border-right: 1px solid rgba(76, 119, 255, .24);
}

.pxc-sidebar::before,
.pxc-quick-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(8,124,255,.2);
  border-radius: 50%;
  filter: drop-shadow(0 0 15px rgba(8,124,255,.28));
  pointer-events: none;
}

.pxc-sidebar::before { right: -170px; bottom: 120px; }

.pxc-brand {
  position: relative;
  z-index: 1;
  padding: 5px 7px 28px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.pxc-brand img { display: block; width: 171px; height: auto; }
.pxc-brand > span {
  display: block;
  margin-top: 20px;
  color: var(--pxc-blue-light);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2.5px;
}

.pxc-nav {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  padding: 25px 0;
}

.pxc-nav button {
  display: flex;
  width: 100%;
  min-height: 47px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  color: rgba(255,255,255,.58);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 650;
  text-align: left;
  transition: .18s ease;
}

.pxc-nav button:hover {
  color: #fff;
  background: rgba(255,255,255,.045);
}

.pxc-nav button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--pxc-blue), #0867dd);
  border-color: #2192ff;
  box-shadow: 0 9px 25px rgba(8,124,255,.3), inset 0 1px rgba(255,255,255,.18);
}

.pxc-nav-icon {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}

.pxc-sidebar-note {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(70,114,255,.16);
  border-radius: 12px;
}

.pxc-sidebar-note i {
  display: block;
  width: 7px;
  height: 7px;
  margin-bottom: 11px;
  background: var(--pxc-blue);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--pxc-blue);
}

.pxc-sidebar-note strong {
  display: block;
  color: #fff;
  font-size: 8px;
  letter-spacing: 1.5px;
}

.pxc-sidebar-note p {
  margin: 7px 0 0;
  color: rgba(255,255,255,.45);
  font-size: 9px;
  line-height: 1.55;
}

.pxc-logout {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  color: rgba(255,255,255,.45);
  background: transparent;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 9px;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .5px;
}

.pxc-logout:hover { color: #fff; border-color: rgba(8,124,255,.55); }

.pxc-main { min-width: 0; padding: 45px clamp(24px, 3vw, 55px) 58px; }

.pxc-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}

.pxc-kicker {
  display: block;
  color: var(--pxc-blue);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 2px;
}

.pxc-page-head h1 {
  margin: 8px 0 5px;
  color: var(--pxc-ink);
  font-size: clamp(32px, 4vw, 49px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2.7px;
}

.pxc-page-head p {
  margin: 0;
  color: var(--pxc-muted);
  font-size: 11px;
}

.pxc-btn {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 17px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  transition: .18s ease;
}

.pxc-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pxc-blue), #076bdc);
  border: 1px solid #278fff;
  box-shadow: 0 9px 24px rgba(8,124,255,.2);
}

.pxc-btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(8,124,255,.3);
}

.pxc-btn-primary:disabled { opacity: .55; cursor: wait; transform: none; }

.pxc-btn-secondary {
  color: var(--pxc-ink);
  background: #fff;
  border: 1px solid var(--pxc-line);
}

.pxc-btn-whatsapp {
  color: #fff;
  background: #18a865;
  border: 1px solid #20bb74;
}

.pxc-view { display: none; }
.pxc-view.is-active { display: block; animation: pxc-in .24s ease; }

@keyframes pxc-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

.pxc-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 17px;
}

.pxc-metric,
.pxc-panel {
  background: #fff;
  border: 1px solid var(--pxc-line);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(18, 29, 66, .045);
}

.pxc-metric {
  position: relative;
  min-height: 151px;
  padding: 22px;
  overflow: hidden;
}

.pxc-metric::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  right: 22px;
  top: 22px;
  background: var(--pxc-blue);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--pxc-blue);
}

.pxc-metric-main {
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(26,102,255,.32), transparent 150px),
    linear-gradient(145deg, #0b0f31, #040617);
  border-color: #172350;
}

.pxc-metric > span {
  display: block;
  color: #7c849e;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}

.pxc-metric-main > span { color: rgba(255,255,255,.45); }

.pxc-metric > strong {
  display: block;
  margin-top: 22px;
  font-size: clamp(23px, 2.2vw, 33px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.4px;
}

.pxc-metric > small {
  display: block;
  margin-top: 11px;
  color: #8990a4;
  font-size: 8px;
}

.pxc-metric-main > small { color: rgba(255,255,255,.42); }

.pxc-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(250px, .7fr);
  gap: 15px;
}

.pxc-recent-panel { min-height: 365px; padding: 25px; }
.pxc-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.pxc-panel-head h2 {
  margin: 6px 0 0;
  font-size: 18px;
  letter-spacing: -.6px;
}

.pxc-panel-head button {
  padding: 7px 0;
  color: var(--pxc-blue);
  background: none;
  border: 0;
  font-size: 9px;
  font-weight: 800;
}

.pxc-quick-card {
  position: relative;
  min-height: 365px;
  padding: 25px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(82,44,255,.26), transparent 160px),
    linear-gradient(145deg, #0a0e2c, #040617);
  border: 1px solid #182456;
  border-radius: 14px;
}

.pxc-quick-card::before { right: -150px; top: -145px; }
.pxc-orb {
  position: relative;
  width: 100%;
  height: 90px;
  margin-bottom: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 60%, #713cff 0 8px, transparent 9px),
    radial-gradient(circle at 35% 30%, #168cff 0 5px, transparent 6px),
    linear-gradient(135deg, rgba(8,124,255,.18), rgba(104,56,255,.12));
  border: 1px solid rgba(58,119,255,.34);
  border-radius: 11px;
  box-shadow: inset 0 0 30px rgba(8,124,255,.12);
}

.pxc-orb::after {
  content: "PX";
  position: absolute;
  right: 15px;
  bottom: 10px;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -2px;
}

.pxc-quick-card h2 {
  max-width: 280px;
  margin: 11px 0 10px;
  color: #fff;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -.8px;
}

.pxc-quick-card p {
  margin: 0 0 20px;
  color: rgba(255,255,255,.52);
  font-size: 9px;
  line-height: 1.55;
}

.pxc-quick-card .pxc-btn { width: 100%; }

.pxc-receipt-list { border-top: 1px solid #e7eaf2; }
.pxc-receipt-row {
  display: grid;
  min-height: 63px;
  grid-template-columns: 35px minmax(140px, 1fr) 78px 90px 53px 70px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e7eaf2;
}

.pxc-row-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--pxc-blue);
  background: #eaf3ff;
  border-radius: 8px;
  font-size: 14px;
}

.pxc-row-main { min-width: 0; }
.pxc-row-main strong,
.pxc-row-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pxc-row-main strong { font-size: 10px; }
.pxc-row-main small { margin-top: 4px; color: var(--pxc-muted); font-size: 7.5px; }
.pxc-receipt-row time { color: var(--pxc-muted); font-size: 8px; }
.pxc-row-amount { font-size: 9px; text-align: right; }

.pxc-row-status {
  padding: 5px 6px;
  border-radius: 20px;
  font-size: 6.5px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.pxc-row-status.is-paid { color: #137245; background: #e3f7ec; }
.pxc-row-status.is-partial { color: #9d5a16; background: #fff0db; }
.pxc-row-actions { display: flex; justify-content: flex-end; gap: 4px; }
.pxc-row-actions button {
  width: 31px;
  height: 28px;
  padding: 0;
  color: #606a85;
  background: #f4f6fa;
  border: 1px solid #e0e4ed;
  border-radius: 7px;
  font-size: 7px;
  font-weight: 900;
}
.pxc-row-actions button:hover { color: #fff; background: var(--pxc-blue); border-color: var(--pxc-blue); }

.pxc-empty {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--pxc-muted);
  text-align: center;
}

.pxc-empty > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: var(--pxc-blue);
  border-radius: 12px;
  box-shadow: 0 9px 25px rgba(8,124,255,.25);
}

.pxc-empty h3 { margin: 14px 0 4px; color: var(--pxc-ink); font-size: 13px; }
.pxc-empty p { margin: 0; font-size: 9px; }

.pxc-create-grid {
  display: grid;
  grid-template-columns: minmax(430px, .95fr) minmax(420px, 1.05fr);
  align-items: start;
  gap: 18px;
}

.pxc-form { padding: 25px; }
.pxc-form-section + .pxc-form-section {
  margin-top: 27px;
  padding-top: 26px;
  border-top: 1px solid #e6eaf2;
}

.pxc-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.pxc-section-title > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: #fff;
  background: var(--pxc-blue);
  border-radius: 7px;
  font-size: 8px;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(8,124,255,.2);
}

.pxc-section-title h2 { margin: 0; font-size: 15px; letter-spacing: -.4px; }
.pxc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pxc-field-wide { grid-column: 1 / -1; }
.pxc-installment-field[hidden] { display: none; }

.pxc-fields label > span {
  display: block;
  min-height: 20px;
  color: #39415a;
  font-size: 8.5px;
  font-weight: 800;
}

.pxc-fields input,
.pxc-fields select,
.pxc-fields textarea,
.pxc-search,
.pxc-history-tools > select {
  width: 100%;
  color: var(--pxc-ink);
  background: #f7f9fc;
  border: 1px solid #dce2ed;
  border-radius: 8px;
  outline: none;
  box-shadow: none;
  transition: .16s ease;
}

.pxc-fields input,
.pxc-fields select { height: 41px; padding: 0 11px; }
.pxc-fields textarea { min-height: 78px; padding: 11px; resize: vertical; }
.pxc-fields input::placeholder,
.pxc-fields textarea::placeholder { color: #a3a9ba; }
.pxc-fields input:focus,
.pxc-fields select:focus,
.pxc-fields textarea:focus,
.pxc-search:focus-within,
.pxc-history-tools > select:focus {
  border-color: #6bb1ff;
  box-shadow: 0 0 0 3px rgba(8,124,255,.12);
}

.pxc-balance-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 14px 16px;
  color: #76501f;
  background: #fff5e6;
  border: 1px solid #f2deb9;
  border-radius: 9px;
}

.pxc-balance-alert[hidden] { display: none; }
.pxc-balance-alert span { font-size: 8px; font-weight: 900; letter-spacing: .8px; }
.pxc-balance-alert strong { font-size: 13px; }
.pxc-form-error { margin: 13px 0 0; padding: 11px; color: #a52c36; background: #fff0f1; border-radius: 8px; font-size: 9px; }
.pxc-form-error[hidden] { display: none; }
.pxc-form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }

.pxc-preview-wrap {
  position: sticky;
  top: 20px;
  padding: 17px;
  background:
    radial-gradient(circle at 100% 0, rgba(8,124,255,.14), transparent 190px),
    #e7ebf3;
  border: 1px solid #d6dce8;
  border-radius: 14px;
}

.pxc-preview-toggle { display: none; }

.pxc-preview-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 14px;
  color: #3d455d;
}

.pxc-preview-label span { font-size: 7px; font-weight: 900; letter-spacing: 1.4px; }
.pxc-preview-label small { color: #80879b; font-size: 7px; }

.pxc-document {
  position: relative;
  min-height: 635px;
  overflow: hidden;
  color: #0a0d25;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(18,29,66,.14);
}

.pxc-doc-topline { height: 8px; background: var(--pxc-blue); }
.pxc-doc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 35px 39px 25px;
}

.pxc-doc-head img { width: 165px; height: auto; filter: brightness(0); }
.pxc-doc-head > div { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.pxc-doc-head span,
.pxc-doc-client > span,
.pxc-doc-details span,
.pxc-doc-balance span,
.pxc-doc-notes > span,
.pxc-doc-amount span {
  display: block;
  color: #81869a;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 1.1px;
}

.pxc-doc-head strong { margin-top: 6px; font-size: 11px; }
.pxc-doc-head small { margin-top: 4px; color: #81869a; font-size: 7.5px; }
.pxc-doc-client { margin: 0 39px; padding: 23px 0; border-top: 1px solid #e2e5ec; }
.pxc-doc-client h2 { margin: 7px 0 3px; font-size: 21px; letter-spacing: -.8px; }
.pxc-doc-client p { margin: 0; color: #62697c; font-size: 7.5px; }
.pxc-doc-client small { display: block; margin-top: 8px; color: #73798d; font-size: 6.8px; }
.pxc-doc-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 39px;
  padding: 20px 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(8,124,255,.25), transparent 120px),
    #070a22;
  border: 1px solid #182554;
  border-radius: 7px;
}

.pxc-doc-amount span { color: rgba(255,255,255,.42); }
.pxc-doc-amount strong { display: block; margin-top: 6px; color: #fff; font-size: 27px; letter-spacing: -1.3px; }
.pxc-doc-amount b { padding: 6px 9px; color: #fff; background: var(--pxc-blue); border-radius: 20px; font-size: 6px; letter-spacing: .5px; }
.pxc-doc-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 26px; margin: 25px 39px 0; }
.pxc-doc-wide { grid-column: 1 / -1; }
.pxc-doc-details strong { display: block; margin-top: 5px; font-size: 7.5px; line-height: 1.4; }
.pxc-doc-balance { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 39px 0; padding: 13px 15px; background: #f0f4fa; border-radius: 6px; }
.pxc-doc-balance > div + div { padding-left: 14px; border-left: 1px solid #d9dee8; }
.pxc-doc-balance strong { display: block; margin-top: 5px; font-size: 9px; }
.pxc-doc-notes { margin: 21px 39px 0; padding-top: 14px; border-top: 1px solid #e2e5ec; }
.pxc-doc-notes p { margin: 6px 0 0; color: #666d80; font-size: 6.8px; line-height: 1.5; }
.pxc-doc-footer {
  position: absolute;
  right: 39px;
  bottom: 25px;
  left: 39px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
  border-top: 1px solid #e2e5ec;
}

.pxc-doc-footer div { display: flex; flex-direction: column; gap: 3px; }
.pxc-doc-footer strong { font-size: 7.5px; }
.pxc-doc-footer span,
.pxc-doc-footer p { margin: 0; color: #858b9d; font-size: 5.5px; line-height: 1.4; }
.pxc-doc-footer p { max-width: 210px; text-align: right; }

.pxc-history-panel { min-height: 480px; padding: 24px; }
.pxc-history-tools { display: grid; grid-template-columns: minmax(230px, 1fr) 200px; gap: 11px; margin-bottom: 20px; }
.pxc-search { display: flex; height: 42px; align-items: center; gap: 8px; padding: 0 12px; }
.pxc-search > span { color: var(--pxc-blue); font-size: 18px; }
.pxc-search input { width: 100%; height: 100%; padding: 0; background: transparent; border: 0; outline: 0; box-shadow: none; font-size: 9.5px; }
.pxc-history-tools > select { height: 42px; padding: 0 10px; font-size: 9px; }

.pxc-modal {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3,5,18,.78);
  backdrop-filter: blur(7px);
}

.pxc-modal[hidden] { display: none; }
.pxc-modal-card {
  position: relative;
  width: min(390px, 100%);
  padding: 31px;
  text-align: center;
  background: #fff;
  border: 1px solid #e0e5ef;
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0,0,0,.3);
}

.pxc-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 31px;
  height: 31px;
  padding: 0;
  color: #747b90;
  background: #f1f4f8;
  border: 0;
  border-radius: 8px;
  font-size: 20px;
}

.pxc-success-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto 20px;
  color: #fff;
  background: var(--pxc-blue);
  border-radius: 15px;
  font-size: 24px;
  box-shadow: 0 12px 30px rgba(8,124,255,.28);
}

.pxc-modal-card h2 { margin: 9px 0 7px; font-size: 25px; letter-spacing: -1px; }
.pxc-modal-card > p { margin: 0 0 21px; color: var(--pxc-muted); font-size: 10px; line-height: 1.5; }
.pxc-modal-actions { display: grid; gap: 8px; }

.pxc-mobile-head,
.pxc-mobile-nav { display: none; }

.pxc-login-screen,
.pxc-login-screen * { box-sizing: border-box; }

.pxc-login-screen {
  position: relative;
  display: grid;
  width: 100%;
  min-height: min(820px, 88vh);
  place-items: center;
  padding: 36px 18px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(8,124,255,.2), transparent 260px),
    radial-gradient(circle at 85% 75%, rgba(104,56,255,.18), transparent 280px),
    linear-gradient(145deg, #070a24 0%, #020312 75%);
  border: 1px solid #172451;
  border-radius: 18px;
  font-family: Inter, Arial, Helvetica, sans-serif;
  box-shadow: 0 25px 80px rgba(5, 10, 36, .26);
}

.pxc-login-glow {
  position: absolute;
  border: 1px solid rgba(8,124,255,.22);
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(8,124,255,.1);
}

.pxc-login-glow-one { width: 360px; height: 360px; top: -210px; right: -110px; }
.pxc-login-glow-two { width: 260px; height: 260px; bottom: -150px; left: -80px; border-color: rgba(104,56,255,.22); }

.pxc-login-card {
  position: relative;
  z-index: 2;
  width: min(430px, 100%);
  padding: 39px;
  background: rgba(9,13,40,.88);
  border: 1px solid rgba(65,113,255,.32);
  border-radius: 17px;
  box-shadow: 0 28px 80px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.04);
  backdrop-filter: blur(14px);
}

.pxc-login-card > img { display: block; width: 180px; height: auto; margin-bottom: 33px; }
.pxc-login-kicker { display: block; color: #22a1ff; font-size: 8px; font-weight: 900; letter-spacing: 2px; }
.pxc-login-card h1 { margin: 9px 0 7px; color: #fff; font-size: 34px; line-height: 1.05; letter-spacing: -1.7px; }
.pxc-login-card > p { margin: 0 0 27px; color: rgba(255,255,255,.5); font-size: 10px; }
.pxc-login-card form { display: grid; gap: 16px; }
.pxc-login-card label > span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.68); font-size: 8px; font-weight: 800; }

.pxc-login-card input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  color: #fff;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 9px;
  outline: none;
  box-shadow: none;
  font: inherit;
  font-size: 11px;
}

.pxc-login-card input::placeholder { color: rgba(255,255,255,.28); }
.pxc-login-card input:focus { border-color: #087cff; box-shadow: 0 0 0 3px rgba(8,124,255,.15); }
.pxc-password-wrap { position: relative; }
.pxc-password-wrap input { padding-right: 64px; }

.pxc-password-wrap button {
  position: absolute;
  top: 50%;
  right: 7px;
  min-width: 46px;
  height: 32px;
  padding: 0 7px;
  color: #47a7ff;
  background: rgba(8,124,255,.1);
  border: 0;
  border-radius: 6px;
  font-size: 7px;
  font-weight: 900;
  transform: translateY(-50%);
}

.pxc-login-submit {
  width: 100%;
  height: 47px;
  margin-top: 4px;
  color: #fff;
  background: linear-gradient(135deg, #087cff, #0864d5);
  border: 1px solid #2990ff;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(8,124,255,.24);
}

.pxc-login-submit:disabled { opacity: .58; cursor: wait; }
.pxc-login-error { margin: -3px 0 0; padding: 10px; color: #ffb8bd; background: rgba(211,43,59,.14); border: 1px solid rgba(255,93,106,.2); border-radius: 8px; font-size: 8px; }
.pxc-login-error[hidden] { display: none; }
.pxc-login-card > small { display: block; margin-top: 20px; color: rgba(255,255,255,.28); font-size: 7px; text-align: center; }

.pxc-access {
  max-width: 620px;
  margin: 30px auto;
  padding: 34px;
  color: #fff;
  background: linear-gradient(145deg, #0a0e2c, #040617);
  border: 1px solid #162353;
  border-radius: 14px;
  text-align: center;
}

.pxc-access strong { display: block; font-size: 24px; }
.pxc-access p { color: rgba(255,255,255,.55); }
.pxc-access a { display: inline-block; padding: 11px 18px; color: #fff; background: #087cff; border-radius: 8px; text-decoration: none; }

@media (max-width: 1080px) {
  .pxc-create-grid { grid-template-columns: 1fr; }
  .pxc-preview-wrap { position: static; }
  .pxc-document { min-height: 700px; }
  .pxc-receipt-row { grid-template-columns: 35px minmax(120px, 1fr) 80px 53px 70px; }
  .pxc-receipt-row time { display: none; }
}

@media (max-width: 850px) {
  .pxc-app { display: block; min-height: 750px; border-radius: 12px; }
  .pxc-sidebar { display: none; }
  .pxc-mobile-head {
    display: flex;
    height: 63px;
    align-items: center;
    justify-content: space-between;
    padding: 0 17px;
    background: #05071b;
    border-bottom: 1px solid #172451;
  }
  .pxc-mobile-head img { width: 145px; }
  .pxc-mobile-actions { display: flex; align-items: center; gap: 6px; }
  .pxc-mobile-head button {
    height: 34px;
    padding: 0 12px;
    color: #fff;
    background: #087cff;
    border: 1px solid #2791ff;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 800;
  }
  .pxc-mobile-head .pxc-mobile-logout {
    color: rgba(255,255,255,.62);
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.1);
  }
  .pxc-main { padding: 30px 17px 95px; }
  .pxc-page-head > .pxc-btn { display: none; }
  .pxc-page-head h1 { font-size: 37px; }
  .pxc-dashboard-grid { grid-template-columns: 1fr; }
  .pxc-quick-card { min-height: auto; }
  .pxc-orb { height: 75px; }
  .pxc-mobile-nav {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 50;
    display: grid;
    height: 63px;
    grid-template-columns: repeat(3, 1fr);
    padding: 5px;
    background: rgba(5,7,27,.96);
    border: 1px solid #1a2756;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0,0,0,.3);
    backdrop-filter: blur(10px);
  }
  .pxc-mobile-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: rgba(255,255,255,.5);
    background: transparent;
    border: 0;
    border-radius: 9px;
    font-size: 17px;
  }
  .pxc-mobile-nav button span { font-size: 7px; font-weight: 700; }
  .pxc-mobile-nav button.is-active { color: #fff; background: #087cff; }
  .pxc-history-tools { grid-template-columns: 1fr; }
  .pxc-preview-toggle {
    display: flex;
    width: 100%;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    color: #087cff;
    background: #edf5ff;
    border: 1px solid #bedcff;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 850;
  }
  .pxc-preview-wrap { display: none; }
  .pxc-preview-wrap.is-open { display: block; animation: pxc-in .2s ease; }
  .pxc-form-actions {
    position: sticky;
    z-index: 8;
    bottom: 76px;
    margin: 22px -10px -10px;
    padding: 11px 10px 10px;
    background: rgba(255,255,255,.94);
    border-top: 1px solid #e5eaf3;
    backdrop-filter: blur(10px);
  }
}

@media (max-width: 580px) {
  .pxc-metrics { grid-template-columns: 1fr; }
  .pxc-metric { min-height: 135px; }
  .pxc-recent-panel,
  .pxc-form,
  .pxc-history-panel { padding: 18px; }
  .pxc-fields { grid-template-columns: 1fr; }
  .pxc-field-wide { grid-column: auto; }
  .pxc-form-actions { display: grid; grid-template-columns: .8fr 1.2fr; }
  .pxc-receipt-row { grid-template-columns: 33px minmax(0, 1fr) 70px; gap: 8px; }
  .pxc-row-status,
  .pxc-row-amount { display: none; }
  .pxc-row-actions { gap: 3px; }
  .pxc-row-actions button { width: 32px; }
  .pxc-history-tools { grid-template-columns: 1fr; }
  .pxc-preview-wrap { padding: 9px; }
  .pxc-document { min-height: 580px; }
  .pxc-doc-head { padding: 25px 23px 19px; }
  .pxc-doc-head img { width: 125px; }
  .pxc-doc-client,
  .pxc-doc-amount,
  .pxc-doc-details,
  .pxc-doc-balance,
  .pxc-doc-notes { margin-inline: 23px; }
  .pxc-doc-client { padding-block: 18px; }
  .pxc-doc-client h2 { font-size: 18px; }
  .pxc-doc-amount { padding: 16px; }
  .pxc-doc-amount strong { font-size: 21px; }
  .pxc-doc-details { gap: 13px; margin-top: 20px; }
  .pxc-doc-footer { right: 23px; bottom: 19px; left: 23px; }
  .pxc-doc-footer span { display: none; }
  .pxc-login-screen {
    min-height: 100dvh;
    padding: 16px;
    border: 0;
    border-radius: 0;
  }
  .pxc-login-card { padding: 28px 21px; border-radius: 14px; }
  .pxc-login-card > img { width: 158px; margin-bottom: 29px; }
  .pxc-login-card h1 { font-size: 29px; }
  .pxc-login-card > p { margin-bottom: 24px; font-size: 9px; }
  .pxc-login-card input { height: 48px; font-size: 16px; }
  .pxc-login-submit { height: 49px; font-size: 11px; }
}
