:root {
  --vcmx-bg: #0d0d0f;
  --vcmx-bg-soft: #141417;
  --vcmx-bg-panel: #1b1b1f;
  --vcmx-card: #ffffff;
  --vcmx-card-soft: #f6f7f8;
  --vcmx-ink: #f5f5f5;
  --vcmx-ink-dark: #111214;
  --vcmx-muted: #a8adb7;
  --vcmx-muted-dark: #525866;
  --vcmx-accent: #cc1f2f;
  --vcmx-accent-dark: #8b1520;
  --vcmx-accent-soft: rgba(204, 31, 47, 0.14);
  --vcmx-border: rgba(255, 255, 255, 0.08);
  --vcmx-border-dark: #d9dde3;
  --vcmx-success-bg: #eef8f1;
  --vcmx-success-ink: #0f7b47;
  --vcmx-error-bg: #fff0ef;
  --vcmx-error-ink: #b42318;
  --vcmx-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

body.vcmx-public-app {
  background:
    radial-gradient(circle at top right, rgba(204, 31, 47, 0.16), transparent 24%),
    linear-gradient(180deg, #0b0b0d 0%, #111216 100%);
}

#vcmx-login,
#vcmx-app {
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}

.vcmx-shell {
  max-width: 1560px;
  margin: 0 auto;
  padding: 22px 16px 42px;
  color: var(--vcmx-ink);
  background:
    radial-gradient(circle at top right, rgba(204, 31, 47, 0.08), transparent 22%),
    linear-gradient(180deg, #0d0d10 0%, #111216 100%);
}

.vcmx-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.03), transparent 40%),
    linear-gradient(180deg, #121214 0%, #0b0b0d 100%);
}

.vcmx-login-card {
  width: min(100%, 420px);
  background: linear-gradient(180deg, rgba(25, 25, 28, 0.96), rgba(18, 18, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: var(--vcmx-shadow);
  color: var(--vcmx-ink);
  text-align: left;
}

.vcmx-login-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: var(--vcmx-accent);
  color: #fff;
  font-size: 34px;
  font-weight: 800;
}

.vcmx-login-card h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 44px);
  line-height: 1.02;
}

.vcmx-login-subtitle {
  margin: 14px 0 22px;
  color: var(--vcmx-muted);
  font-size: 18px;
  line-height: 1.5;
}

.vcmx-eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.vcmx-login-form,
.vcmx-form {
  display: grid;
  gap: 14px;
}

.vcmx-login-form label,
.vcmx-form label,
.vcmx-card h3 {
  color: inherit;
  font-weight: 700;
}

.vcmx-login-form input[type="text"],
.vcmx-login-form input[type="password"],
.vcmx-form input,
.vcmx-form select,
.vcmx-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--vcmx-border-dark);
  background: #fff;
  color: var(--vcmx-ink-dark);
  font-size: 16px;
  box-sizing: border-box;
}

.vcmx-login-form input:focus,
.vcmx-form input:focus,
.vcmx-form select:focus,
.vcmx-form textarea:focus {
  outline: 2px solid rgba(204, 31, 47, 0.2);
  border-color: var(--vcmx-accent);
}

.vcmx-login-remember {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--vcmx-ink);
  font-weight: 500;
}

.vcmx-login-remember input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.vcmx-login-form button,
.vcmx-nav button,
.vcmx-form button,
.vcmx-secondary-button,
.vcmx-list-item button {
  appearance: none;
  border: 0;
  border-radius: 18px;
  min-height: 54px;
  padding: 14px 18px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
  cursor: pointer;
}

.vcmx-login-form button,
.vcmx-form button,
.vcmx-nav button.is-active,
.vcmx-list-item button {
  background: linear-gradient(180deg, #d51e31 0%, #b81627 100%);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.9);
}

.vcmx-login-form button:hover,
.vcmx-form button:hover,
.vcmx-nav button:hover,
.vcmx-secondary-button:hover,
.vcmx-list-item button:hover {
  transform: translateY(-1px);
}

.vcmx-secondary-button,
.vcmx-nav button:not(.is-active) {
  background: #f1f2f4;
  color: #20232b;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.vcmx-login-links {
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.vcmx-login-portal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 13px 18px;
  border-radius: 12px;
  background: #c8102e;
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.9);
}

.vcmx-login-portal:hover {
  filter: brightness(1.08);
}

.vcmx-login-links a,
.vcmx-logout {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.vcmx-topbar,
.vcmx-nav,
.vcmx-card,
.vcmx-form,
.vcmx-list-item {
  border-radius: 28px;
}

.vcmx-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 24px 22px;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at right center, rgba(204, 31, 47, 0.48), transparent 26%),
    linear-gradient(180deg, #1b1b1f 0%, #252529 100%);
  border: 1px solid var(--vcmx-border);
  box-shadow: var(--vcmx-shadow);
}

.vcmx-topbar h2 {
  margin: 0;
  font-size: clamp(36px, 6vw, 54px);
  line-height: 1.02;
}

.vcmx-topbar-copy {
  margin: 10px 0 0;
  max-width: 720px;
  color: var(--vcmx-muted);
  font-size: 18px;
}

.vcmx-logout {
  white-space: nowrap;
  font-weight: 700;
  margin-top: 10px;
}

.vcmx-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  padding: 10px;
  margin: 0 0 18px;
  background: rgba(18, 18, 21, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--vcmx-shadow);
}

.vcmx-nav button:disabled,
.vcmx-form button:disabled,
.vcmx-secondary-button:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

.vcmx-feedback {
  min-height: 24px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  font-weight: 700;
}

.vcmx-feedback:empty {
  display: none;
}

.vcmx-feedback.is-success {
  color: var(--vcmx-success-ink);
  background: var(--vcmx-success-bg);
}

.vcmx-feedback.is-error {
  color: var(--vcmx-error-ink);
  background: var(--vcmx-error-bg);
}

.vcmx-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.vcmx-stat,
.vcmx-card,
.vcmx-form,
.vcmx-list-item {
  background: linear-gradient(180deg, #17181c 0%, #111216 100%);
  color: var(--vcmx-ink);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.22);
}

.vcmx-stat {
  padding: 20px 18px;
  border-radius: 24px;
}

.vcmx-stat span {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vcmx-muted);
  font-weight: 800;
}

.vcmx-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 46px;
  line-height: 1;
  color: var(--vcmx-accent);
}

.vcmx-card,
.vcmx-form,
.vcmx-list-item {
  padding: 20px;
  margin-bottom: 14px;
}

.vcmx-grid {
  display: grid;
  gap: 14px;
}

.vcmx-inline-search,
.vcmx-action-row {
  display: grid;
  gap: 10px;
  align-items: end;
}

.vcmx-inline-search {
  grid-template-columns: minmax(0, 1fr) auto auto;
  margin-top: 8px;
}

.vcmx-action-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vcmx-list-item strong {
  color: var(--vcmx-accent);
  font-size: 22px;
}

.vcmx-history {
  display: grid;
  gap: 12px;
}

.vcmx-list-item p {
  margin: 8px 0 0;
  color: var(--vcmx-muted);
}

.vcmx-empty-state {
  text-align: center;
  padding: 30px 22px;
}

.vcmx-empty-state h3 {
  margin: 0;
}

.vcmx-empty-state p {
  margin: 10px 0 0;
  color: var(--vcmx-muted);
}

.vcmx-ticket-head {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
}

.vcmx-ticket-extra {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--vcmx-border-dark);
}

.vcmx-qr-thumb {
  width: 108px;
  height: 108px;
  border-radius: 20px;
  border: 1px solid var(--vcmx-border-dark);
  background: #fff;
  object-fit: contain;
  flex-shrink: 0;
}

.vcmx-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.vcmx-photo-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--vcmx-ink);
  text-decoration: none;
}

.vcmx-photo-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vcmx-photo-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.vcmx-photo-chip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.vcmx-photo-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vcmx-photo-card span,
.vcmx-photo-chip small,
.vcmx-muted-copy {
  color: var(--vcmx-muted);
  font-size: 13px;
}

.vcmx-section-head,
.vcmx-request-detail-head,
.vcmx-request-detail-grid,
.vcmx-request-action-row {
  display: flex;
  gap: 14px;
}

.vcmx-section-head,
.vcmx-request-detail-head {
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.vcmx-requested-list {
  display: grid;
  gap: 14px;
}

.vcmx-request-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 140px;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: var(--vcmx-card);
  color: var(--vcmx-ink-dark);
  border: 1px solid var(--vcmx-border-dark);
  box-shadow: 0 8px 24px rgba(17, 18, 20, 0.06);
}

.vcmx-request-item.is-selected {
  border-color: var(--vcmx-accent);
  box-shadow: 0 0 0 2px rgba(204, 31, 47, 0.14), 0 12px 28px rgba(17, 18, 20, 0.08);
}

.vcmx-request-state {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--vcmx-accent);
  font-weight: 800;
}

.vcmx-request-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.16);
}

.vcmx-request-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: var(--vcmx-ink-dark);
}

.vcmx-request-main p {
  margin: 4px 0 0;
  color: var(--vcmx-muted-dark);
}

.vcmx-request-actions {
  display: flex;
  justify-content: flex-end;
}

.vcmx-request-open,
.vcmx-request-action {
  min-height: 46px;
  border-radius: 14px;
}

.vcmx-request-open {
  min-width: 112px;
}

.vcmx-request-detail {
  background: linear-gradient(180deg, #111216 0%, #17181c 100%);
  color: var(--vcmx-ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vcmx-request-detail-grid {
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.vcmx-request-detail-grid article {
  flex: 1 1 180px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vcmx-request-detail-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--vcmx-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.vcmx-request-detail-grid strong {
  color: #fff;
  font-size: 16px;
}

.vcmx-request-detail-section {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vcmx-request-detail-section h4 {
  margin: 0 0 10px;
}

.vcmx-request-detail-section p {
  margin: 0 0 6px;
  color: var(--vcmx-muted);
}

.vcmx-request-action-row {
  flex-wrap: wrap;
  margin-top: 18px;
}

.vcmx-request-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(204, 31, 47, 0.12);
  color: var(--vcmx-accent);
  font-weight: 800;
  white-space: nowrap;
}

.vcmx-request-badge.is-delivered {
  background: var(--vcmx-success-bg);
  color: var(--vcmx-success-ink);
}

.vcmx-request-badge.is-cancelled,
.vcmx-request-badge.is-no_recogido,
.vcmx-request-badge.is-reestacionado {
  background: rgba(255, 190, 0, 0.14);
  color: #9a6400;
}

.vcmx-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.vcmx-dashboard-main {
  display: grid;
  gap: 18px;
}

.vcmx-dashboard-side {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 18px;
  align-self: start;
}

.vcmx-hero-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  background: linear-gradient(180deg, #141416 0%, #0f1012 100%);
  min-height: 180px;
}

.vcmx-hero-card h2 {
  margin: 6px 0 0;
  font-size: clamp(34px, 4vw, 54px);
}

.vcmx-hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: min(100%, 380px);
  max-width: 420px;
}

.vcmx-quick-action {
  min-height: 64px;
  border-radius: 18px;
  background: #1d2026;
  color: #f5f5f5;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vcmx-request-table-wrap {
  overflow-x: auto;
}

.vcmx-request-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1120px;
}

.vcmx-request-table th,
.vcmx-request-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  vertical-align: middle;
}

.vcmx-request-table th {
  color: var(--vcmx-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vcmx-request-row:hover {
  background: rgba(204, 31, 47, 0.08);
}

.vcmx-request-row.is-selected {
  background: rgba(204, 31, 47, 0.12);
}

.vcmx-request-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(64, 168, 74, 0.16);
  color: #a8ff9e;
  font-size: 12px;
  font-weight: 800;
}

.vcmx-countdown {
  color: #ffb347;
  font-size: 18px;
}

.vcmx-side-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vcmx-side-metric {
  padding: 14px;
  border-radius: 18px;
  background: #16181d;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.vcmx-side-metric span {
  display: block;
  color: var(--vcmx-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vcmx-side-metric strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
  color: #fff;
}

.vcmx-dashboard-main .vcmx-request-detail {
  margin-top: 0;
}

.vcmx-request-detail {
  background: linear-gradient(180deg, #121318 0%, #0d0e12 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.vcmx-requested-panel,
.vcmx-dashboard-main > .vcmx-card {
  overflow: hidden;
}

.vcmx-request-table th,
.vcmx-request-table td {
  white-space: nowrap;
}

.vcmx-indicator-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.vcmx-indicator-card {
  min-height: 124px;
  padding: 16px;
  border-radius: 22px;
  text-align: left;
  background: linear-gradient(180deg, #15161a 0%, #111216 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.vcmx-indicator-card span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vcmx-muted);
  font-weight: 800;
}

.vcmx-indicator-card strong {
  display: block;
  margin-top: 12px;
  font-size: 42px;
  line-height: 1;
  color: #fff;
}

.vcmx-indicator-card small {
  display: block;
  margin-top: 6px;
  color: var(--vcmx-muted);
}

.vcmx-indicator-card.is-active {
  border-color: var(--vcmx-accent);
  box-shadow: 0 0 0 2px rgba(204, 31, 47, 0.15), 0 10px 24px rgba(0, 0, 0, 0.18);
}

.vcmx-indicator-detail {
  display: grid;
  gap: 14px;
}

.vcmx-indicator-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.vcmx-indicator-head h3 {
  margin: 0;
  font-size: 28px;
}

.vcmx-indicator-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 72px;
  padding: 0 16px;
  border-radius: 20px;
  font-size: 30px;
  font-weight: 900;
  background: rgba(204, 31, 47, 0.14);
  color: #fff;
}

.vcmx-indicator-count.is-accent {
  background: rgba(204, 31, 47, 0.14);
}

.vcmx-indicator-list {
  display: grid;
  gap: 10px;
}

.vcmx-indicator-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.vcmx-indicator-row strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.vcmx-indicator-row p {
  margin: 4px 0 0;
  color: var(--vcmx-muted);
}

.vcmx-indicator-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.vcmx-indicator-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
}

.vcmx-indicator-tag.is-free {
  background: rgba(64, 168, 74, 0.16);
  color: #a8ff9e;
}

.vcmx-indicator-tag.is-busy {
  background: rgba(204, 31, 47, 0.16);
  color: #ffb1b8;
}

@media (max-width: 960px) {
  .vcmx-request-item {
    grid-template-columns: 1fr;
  }

  .vcmx-request-actions {
    justify-content: flex-start;
  }

  .vcmx-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .vcmx-hero-card {
    flex-direction: column;
  }

  .vcmx-hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .vcmx-indicator-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vcmx-indicator-row {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .vcmx-indicator-strip {
    grid-template-columns: 1fr;
  }
}

.vcmx-scanner-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  padding: 20px;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vcmx-scanner-card {
  width: min(100%, 560px);
  background: #131418;
  color: #fff;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px;
  box-shadow: var(--vcmx-shadow);
}

.vcmx-scanner-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.vcmx-scanner-head h3 {
  margin: 0;
  color: #fff;
}

.vcmx-scanner-close {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
}

.vcmx-scanner-copy {
  margin: 10px 0 16px;
  color: var(--vcmx-muted);
}

.vcmx-scanner-stage {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #09090b;
  aspect-ratio: 4 / 5;
}

.vcmx-scanner-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vcmx-scanner-target {
  position: absolute;
  inset: 16% 12%;
  border: 3px solid rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.28);
}

@media (max-width: 899px) {
  .vcmx-shell {
    padding: 18px 14px 26px;
  }

  .vcmx-topbar {
    flex-direction: column;
  }

  .vcmx-topbar h2 {
    font-size: 28px;
  }

  .vcmx-topbar-copy {
    font-size: 16px;
  }

  .vcmx-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vcmx-ticket-head {
    flex-direction: column;
  }

  .vcmx-inline-search,
  .vcmx-action-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  .vcmx-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vcmx-public-request-shell {
  min-height: 100vh;
  padding: 28px 16px 40px;
  background:
    radial-gradient(circle at top, rgba(214, 20, 53, 0.12), transparent 32%),
    linear-gradient(180deg, #080808 0%, #0f0f10 100%);
  color: #fff;
}

body.vcm-app-body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: #08090b;
  color: #fff;
}

body.vcm-app-body .vcm-public-app,
body.vcm-app-body .vcm-public-app *,
body.vcm-app-body .vcm-public-app *::before,
body.vcm-app-body .vcm-public-app *::after {
  box-sizing: border-box;
}

body.vcm-app-body .vcm-public-app {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding:
    max(14px, env(safe-area-inset-top))
    max(14px, env(safe-area-inset-right))
    max(14px, env(safe-area-inset-bottom))
    max(14px, env(safe-area-inset-left));
  overflow-x: hidden;
}

body.vcm-app-body .vcm-request-shell {
  width: min(100%, 720px);
  margin: auto;
}

body.vcm-app-body .vcmx-public-request-shell {
  width: 100%;
  min-height: auto;
  padding: 0;
  background: transparent;
}

.vcmx-public-request-card {
  width: 100%;
  margin: 0 auto;
  background: rgba(10, 10, 11, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--vcmx-shadow);
}

body.vcm-app-body .vcmx-public-request-card {
  width: 100%;
  max-width: 100%;
  padding: clamp(18px, 4vw, 32px);
  background: #101113;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.vcmx-public-request-hero h1 {
  margin: 6px 0 8px;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1;
}

.vcmx-public-request-hero p {
  margin: 0;
  max-width: 720px;
  color: var(--vcmx-muted);
}

body.vcm-app-body .vcm-request-header {
  width: 100%;
}

body.vcm-app-body .vcm-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #a9afbc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.vcm-app-body .vcm-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(32px, 7vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

body.vcm-app-body .vcm-description {
  max-width: 620px;
  margin: 10px 0 0;
  color: #aeb4c0;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.55;
}

.vcmx-public-alert,
.vcmx-public-empty {
  margin-top: 18px;
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vcmx-public-alert.is-success {
  background: rgba(35, 164, 68, 0.12);
  color: #dbffe4;
}

.vcmx-public-alert.is-error {
  background: rgba(214, 20, 53, 0.16);
  color: #ffe0e7;
}

.vcmx-public-search-form,
.vcmx-public-request-form {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

body.vcm-app-body .vcm-search-group {
  width: 100%;
  margin-top: 22px;
}

body.vcm-app-body .vcm-field-label {
  display: block;
  margin-bottom: 9px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.vcmx-public-search-form label,
.vcmx-public-request-form label {
  color: #fff;
  font-weight: 700;
}

.vcmx-public-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

body.vcm-app-body .vcm-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 10px;
  width: 100%;
  align-items: stretch;
}

.vcmx-public-search-row input,
.vcmx-public-request-form select {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #fff;
  color: #111;
  padding: 12px 16px;
}

body.vcm-app-body .vcm-search-input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: #ffffff;
  color: #121212;
  font-size: 16px;
  line-height: 1;
  outline: none;
}

body.vcm-app-body .vcm-search-input:focus {
  border-color: #c8102e;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.18);
}

body.vcm-app-body .vcm-search-button {
  width: 112px;
  min-width: 112px;
  height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #c8102e;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

body.vcm-app-body .vcm-search-button:hover {
  filter: brightness(1.08);
}

body.vcm-app-body .vcm-search-button:focus-visible {
  outline: 3px solid rgba(200, 16, 46, 0.35);
  outline-offset: 2px;
}

body.vcm-app-body .vcm-search-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.vcmx-public-search-row button,
.vcmx-public-primary {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  background: var(--vcmx-red);
  color: #fff;
  font-weight: 800;
}

.vcmx-public-ticket-card {
  margin-top: 20px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.vcm-app-body .vcm-vehicle-result {
  width: 100%;
  margin-top: 18px;
  padding: clamp(16px, 3vw, 22px);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
}

.vcmx-public-ticket-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

body.vcm-app-body .vcm-result-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

body.vcm-app-body .vcm-result-label {
  display: block;
  color: #a9afbc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.vcm-app-body .vcm-customer-name {
  margin: 14px 0 0;
  color: #ffffff;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

body.vcm-app-body .vcm-status-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(200, 16, 46, 0.28);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.vcmx-public-status {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(214, 20, 53, 0.18);
  color: #fff;
  font-weight: 700;
}

.vcmx-public-ticket-grid {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.vcm-app-body .vcm-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 20px;
}

body.vcm-app-body .vcm-info-item {
  min-width: 0;
  min-height: 74px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

body.vcm-app-body .vcm-info-label {
  display: block;
  margin-bottom: 6px;
  color: #858c9a;
  font-size: 10px;
  line-height: 1.3;
  text-transform: uppercase;
}

body.vcm-app-body .vcm-info-value {
  display: block;
  max-width: 100%;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.vcmx-public-ticket-grid div {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px 16px;
}

.vcmx-public-ticket-grid dt {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vcmx-muted);
}

.vcmx-public-ticket-grid dd {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.vcmx-public-note {
  margin: 18px 0 0;
  color: var(--vcmx-muted);
  line-height: 1.5;
}

body.vcm-app-body .vcm-time-group {
  width: 100%;
  margin-top: 18px;
}

body.vcm-app-body .vcm-time-select {
  width: 100%;
  max-width: 100%;
  height: 52px;
  padding: 0 42px 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background-color: #ffffff;
  color: #151515;
  font-size: 16px;
  outline: none;
}

body.vcm-app-body .vcm-time-select:focus {
  border-color: #c8102e;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.18);
}

body.vcm-app-body .vcm-request-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 12px;
  padding: 13px 18px;
  border: 0;
  border-radius: 12px;
  background: #c8102e;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

body.vcm-app-body .vcm-request-button:hover {
  filter: brightness(1.08);
}

body.vcm-app-body .vcm-request-button:focus-visible {
  outline: 3px solid rgba(200, 16, 46, 0.35);
  outline-offset: 2px;
}

body.vcm-app-body .vcm-request-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

body.vcm-app-body .vcm-tolerance-message {
  width: 100%;
  margin: 14px 0 0;
  color: #9ea5b2;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

body.vcm-app-body .vcm-public-app img,
body.vcm-app-body .vcm-public-app svg,
body.vcm-app-body .vcm-public-app video,
body.vcm-app-body .vcm-public-app canvas {
  max-width: 100%;
  height: auto;
}

body.vcm-app-body .vcm-public-app input,
body.vcm-app-body .vcm-public-app select,
body.vcm-app-body .vcm-public-app textarea,
body.vcm-app-body .vcm-public-app button {
  max-width: 100%;
  font: inherit;
}

body.vcm-app-body .vcm-public-app p,
body.vcm-app-body .vcm-public-app h1,
body.vcm-app-body .vcm-public-app h2,
body.vcm-app-body .vcm-public-app h3,
body.vcm-app-body .vcm-public-app span,
body.vcm-app-body .vcm-public-app strong {
  overflow-wrap: anywhere;
}

@media (max-width: 899px) {
  .vcmx-public-request-card {
    padding: 20px;
    border-radius: 22px;
  }

  .vcmx-public-search-row,
  .vcmx-public-ticket-grid {
    grid-template-columns: 1fr;
  }

  .vcmx-public-ticket-header {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  body.vcm-app-body .vcm-public-app {
    padding: 12px;
    align-items: flex-start;
  }

  body.vcm-app-body .vcm-request-card {
    padding: 18px;
    border-radius: 18px;
  }

  body.vcm-app-body .vcm-vehicle-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body.vcm-app-body .vcm-search-row {
    grid-template-columns: 1fr;
  }

  body.vcm-app-body .vcm-search-button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  body.vcm-app-body .vcm-request-card {
    padding: 16px;
    border-radius: 16px;
  }

  body.vcm-app-body .vcm-result-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  body.vcm-app-body .vcm-title {
    font-size: 34px;
  }
}
