/* WMP user vault — profile + support */
:root {
  --vp-ink: #101828;
  --vp-muted: #667085;
  --vp-line: #e4e7ec;
  --vp-soft: #f8fafc;
  --vp-red: #e53935;
  --vp-orange: #ff6b35;
  --vp-navy: #0b1f33;
  --vp-card: #ffffff;
  --vp-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
}

.vp-page {
  min-height: calc(100vh - 140px);
  padding: 2rem 0 4rem;
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(229, 57, 53, 0.12), transparent 55%),
    radial-gradient(700px 360px at 92% 0%, rgba(255, 107, 53, 0.1), transparent 50%),
    linear-gradient(180deg, #f3f5f9 0%, #fafbfc 45%, #ffffff 100%);
}

.vp-shell {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.vp-alert {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.1rem;
  border-radius: 1rem;
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.vp-alert.ok { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }
.vp-alert.bad { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.vp-alert.warn { background: #fffaeb; color: #b54708; border: 1px solid #fedf89; }
.vp-alert.warn a { color: #b54708; font-weight: 800; }

.vp-hero {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.6rem 1.75rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, rgba(11, 31, 51, 0.96), rgba(17, 42, 70, 0.96)),
    radial-gradient(circle at 85% 20%, rgba(255, 107, 53, 0.35), transparent 40%);
  color: #fff !important;
  box-shadow: 0 22px 48px rgba(11, 31, 51, 0.28);
  margin-bottom: 1.15rem;
  overflow: hidden;
  position: relative;
}
.vp-hero,
.vp-hero h1,
.vp-hero p,
.vp-hero .eyebrow {
  color: #ffffff !important;
}
.vp-hero p {
  color: rgba(255, 255, 255, 0.82) !important;
}
.vp-hero .eyebrow {
  color: #fdba74 !important;
}
.vp-hero::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.35), transparent 70%);
  pointer-events: none;
}
.vp-hero-copy { position: relative; z-index: 1; }
.vp-hero-copy .eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fdba74;
}
.vp-hero-copy h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #ffffff !important;
}
.vp-hero-copy p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 1.02rem;
  max-width: 38rem;
}
.vp-hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.vp-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.35rem;
}
.vp-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--vp-line);
  color: #475467 !important;
  text-decoration: none !important;
  font-weight: 750;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.03);
  transition: 0.18s ease;
}
.vp-nav a i { font-size: 1.05rem; }
.vp-nav a:hover {
  border-color: #d0d5dd;
  transform: translateY(-1px);
  color: var(--vp-ink) !important;
}
.vp-nav a.is-on {
  background: linear-gradient(135deg, var(--vp-red), var(--vp-orange));
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(229, 57, 53, 0.28);
}

.vp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 0.95rem;
  border: 0;
  font-weight: 800;
  font-size: 0.94rem;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
}
.vp-btn.solid {
  background: linear-gradient(135deg, var(--vp-red), var(--vp-orange));
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(229, 57, 53, 0.28);
}
.vp-btn.light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.vp-btn.ghost {
  background: #fff;
  color: #344054 !important;
  border: 1px solid var(--vp-line);
}
.vp-btn.dark {
  background: var(--vp-navy);
  color: #fff !important;
}

.vp-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.15rem;
}
.vp-stat {
  background: var(--vp-card);
  border: 1px solid var(--vp-line);
  border-radius: 1.2rem;
  padding: 1.2rem 1.25rem;
  box-shadow: var(--vp-shadow);
  min-width: 0;
}
.vp-stat .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vp-muted);
  margin-bottom: 0.45rem;
}
.vp-stat .value {
  display: block;
  font-size: 2rem;
  font-weight: 850;
  color: var(--vp-ink);
  line-height: 1;
}
.vp-stat.warn { background: linear-gradient(180deg, #fff7ed, #fff); }
.vp-stat.ok { background: linear-gradient(180deg, #ecfdf3, #fff); }

.vp-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.vp-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.3rem;
  background: #fff;
  border: 1px solid var(--vp-line);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.03);
}
.vp-chips a {
  text-decoration: none !important;
  color: #475467 !important;
  font-weight: 750;
  font-size: 0.88rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
}
.vp-chips a.is-on {
  background: var(--vp-navy);
  color: #fff !important;
}

.vp-board {
  background: var(--vp-card);
  border: 1px solid var(--vp-line);
  border-radius: 1.4rem;
  box-shadow: var(--vp-shadow);
  overflow: hidden;
}
.vp-ticket {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 1.35rem;
  border-bottom: 1px solid #f2f4f7;
  text-decoration: none !important;
  color: inherit !important;
  transition: background 0.15s ease;
}
.vp-ticket:last-child { border-bottom: 0; }
.vp-ticket:hover { background: #f9fafb; }
.vp-avatar {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  font-weight: 850;
  color: #fff;
  background: linear-gradient(135deg, #12263d, #1f3b5b);
  flex-shrink: 0;
}
.vp-ticket h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--vp-ink);
  word-break: break-word;
}
.vp-ticket .meta {
  margin: 0.35rem 0 0;
  color: var(--vp-muted);
  font-size: 0.9rem;
}
.vp-ticket-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.vp-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: capitalize;
  background: #f2f4f7;
  color: #344054;
}
.vp-pill.code { background: #eef2ff; color: #3538cd; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.vp-pill.awaiting_staff,
.vp-pill.open { background: #fffaeb; color: #b54708; }
.vp-pill.awaiting_customer { background: #eff8ff; color: #175cd3; }
.vp-pill.resolved,
.vp-pill.completed,
.vp-pill.ok { background: #ecfdf3; color: #067647; }
.vp-pill.closed { background: #f2f4f7; color: #667085; }
.vp-pill.high,
.vp-pill.urgent { background: #fef3f2; color: #b42318; }
.vp-pill.medium,
.vp-pill.pending { background: #fffaeb; color: #b54708; }
.vp-go {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f2f4f7;
  color: var(--vp-ink);
}
.vp-ticket:hover .vp-go {
  background: var(--vp-navy);
  color: #fff;
}

.vp-empty {
  text-align: center;
  padding: 3.5rem 1.5rem;
}
.vp-empty-ico {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 1.2rem;
  display: grid;
  place-items: center;
  background: #fff1f0;
  color: var(--vp-red);
  font-size: 1.8rem;
}
.vp-empty h3 { margin: 0 0 0.4rem; font-weight: 850; color: var(--vp-ink); }
.vp-empty p { margin: 0 0 1.2rem; color: var(--vp-muted); }

.vp-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.55fr);
  gap: 1.15rem;
  align-items: start;
}
.vp-aside {
  border-radius: 1.4rem;
  padding: 1.45rem;
  background:
    linear-gradient(160deg, #0b1f33 0%, #16324f 70%),
    radial-gradient(circle at 100% 0%, rgba(255, 107, 53, 0.35), transparent 45%);
  color: #fff;
  box-shadow: 0 22px 40px rgba(11, 31, 51, 0.25);
  position: sticky;
  top: 1rem;
}
.vp-aside h2 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 850;
}
.vp-aside .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.vp-aside .steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.7rem;
  align-items: start;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}
.vp-aside .steps b {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.78rem;
}
.vp-progress {
  margin: 1.2rem 0 0.85rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.vp-progress > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--vp-red), var(--vp-orange));
}
.vp-aside .hint {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  font-weight: 750;
  font-size: 0.9rem;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}
.vp-aside .hint.warn { background: rgba(255, 171, 0, 0.16); color: #ffd666; }
.vp-aside .hint.ok { background: rgba(18, 183, 106, 0.16); color: #6ce9a6; }

.vp-card {
  background: #fff;
  border: 1px solid var(--vp-line);
  border-radius: 1.4rem;
  box-shadow: var(--vp-shadow);
  padding: 1.45rem 1.5rem 1.6rem;
}
.vp-card h3.block-title {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vp-muted);
  font-weight: 850;
}
.vp-block {
  margin-bottom: 1.4rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f2f4f7;
}
.vp-block:last-of-type {
  border-bottom: 0;
  margin-bottom: 0.4rem;
  padding-bottom: 0;
}
.vp-grid-2,
.vp-grid-3 {
  display: grid;
  gap: 0.95rem;
  margin-bottom: 0.95rem;
}
.vp-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vp-field { min-width: 0; }
.vp-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #667085;
}
.vp-field label span {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: #98a2b3;
}
.vp-field input,
.vp-field select,
.vp-field textarea {
  width: 100%;
  border: 1.5px solid #d0d5dd;
  border-radius: 0.95rem;
  background: #f9fafb;
  padding: 0.9rem 1rem;
  font-size: 0.98rem;
  color: var(--vp-ink);
  outline: none;
  transition: 0.15s ease;
}
.vp-field textarea { min-height: 140px; resize: vertical; }
.vp-field input:focus,
.vp-field select:focus,
.vp-field textarea:focus {
  border-color: #98a2b3;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(16, 24, 40, 0.06);
}
.vp-field em {
  display: block;
  margin-top: 0.35rem;
  color: #b42318;
  font-size: 0.82rem;
  font-style: normal;
}
.vp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}
.vp-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.05rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}
.vp-status-chip.ok { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }
.vp-status-chip.warn { background: #fffaeb; color: #b54708; border: 1px solid #fedf89; }

.vp-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: #475467;
  font-weight: 750;
  text-decoration: none !important;
}
.vp-back:hover { color: var(--vp-ink); }

.vp-chat {
  background: #fff;
  border: 1px solid var(--vp-line);
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: var(--vp-shadow);
}
.vp-chat-thread {
  min-height: 360px;
  max-height: 540px;
  overflow: auto;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background:
    linear-gradient(rgba(16,24,40,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,24,40,0.03) 1px, transparent 1px),
    #f8fafc;
  background-size: 26px 26px, 26px 26px, auto;
}
.vp-bubble {
  max-width: min(82%, 540px);
  padding: 0.9rem 1.05rem;
  border-radius: 1.1rem;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.05);
}
.vp-bubble.me {
  align-self: flex-end;
  background: var(--vp-navy);
  color: #fff;
}
.vp-bubble.staff {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--vp-line);
}
.vp-bubble .who {
  font-size: 0.7rem;
  font-weight: 750;
  opacity: 0.7;
  margin-bottom: 0.3rem;
}
.vp-bubble .txt {
  white-space: pre-wrap;
  line-height: 1.5;
  font-size: 0.96rem;
}
.vp-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: end;
  padding: 1.05rem 1.15rem;
  border-top: 1px solid #f2f4f7;
}
.vp-composer textarea {
  width: 100%;
  min-height: 88px;
  border: 1.5px solid #d0d5dd;
  border-radius: 0.95rem;
  background: #f9fafb;
  padding: 0.85rem 1rem;
  resize: vertical;
}
.vp-chat-closed {
  padding: 1.05rem 1.15rem;
  color: var(--vp-muted);
  border-top: 1px solid #f2f4f7;
}
.vp-ticket-head {
  background: #fff;
  border: 1px solid var(--vp-line);
  border-radius: 1.4rem;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1rem;
  box-shadow: var(--vp-shadow);
}
.vp-ticket-head h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 850;
  color: var(--vp-ink);
}
.vp-ticket-head p {
  margin: 0.4rem 0 0;
  color: var(--vp-muted);
}

@media (max-width: 960px) {
  .vp-hero,
  .vp-layout { grid-template-columns: 1fr; }
  .vp-hero-actions { justify-content: flex-start; }
  .vp-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vp-stats { grid-template-columns: 1fr; }
  .vp-grid-2,
  .vp-grid-3 { grid-template-columns: 1fr; }
  .vp-aside { position: static; }
  .vp-composer { grid-template-columns: 1fr; }
  .vp-ticket { grid-template-columns: 48px 1fr; }
  .vp-go { display: none; }
}
@media (max-width: 560px) {
  .vp-shell { width: calc(100% - 1.25rem); }
  .vp-hero { padding: 1.25rem; }
  .vp-nav a span { font-size: 0.86rem; }
}

/* Dashboard orders / projects / order detail */
.vp-order-head {
  display: grid;
  grid-template-columns: 28px 44px 56px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.35rem 1.05rem 0.65rem;
  color: #98a2b3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.vp-order-head .vp-order-check { justify-self: center; }
.vp-sno-label { text-align: center; }
.vp-order-head-avatar { display: block; }
.vp-order-head-main { min-width: 0; }
.vp-order-head-action { padding-right: 0.35rem; }
.vp-order-row {
  grid-template-columns: 28px 44px 56px 1fr auto;
  cursor: default;
}
.vp-order-check {
  display: grid;
  place-items: center;
}
.vp-order-check-input {
  width: 18px;
  height: 18px;
  accent-color: #e53935;
  cursor: pointer;
}
.vp-check-spacer {
  width: 18px;
  height: 18px;
  display: block;
}
.vp-sno {
  width: 36px;
  height: 36px;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: #f2f4f7;
  color: #344054;
  font-size: 0.86rem;
  font-weight: 800;
  justify-self: center;
}
.vp-order-main { min-width: 0; }
.vp-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}
.vp-order-cta {
  min-height: 42px;
  padding: 0.55rem 0.95rem;
  font-size: 0.86rem;
}
.vp-btn.is-locked {
  opacity: 0.72;
  cursor: not-allowed;
  pointer-events: none;
  background: #f2f4f7;
  color: #667085 !important;
  border: 1px solid #e4e7ec;
  box-shadow: none;
}
.vp-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
}
.vp-page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 0.7rem;
  border-radius: 0.85rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid #e4e7ec;
  background: #fff;
  color: #344054 !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 6px 16px rgba(16,24,40,0.04);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
a.vp-page-btn:hover {
  border-color: #fdba74;
  color: #e53935 !important;
}
.vp-page-btn.is-on {
  background: #0b1f33;
  border-color: #0b1f33;
  color: #fff !important;
}
.vp-page-btn.is-disabled {
  opacity: 0.4;
  cursor: default;
}
.vp-mini-bar {
  margin-top: 0.65rem;
  height: 7px;
  border-radius: 999px;
  background: #f2f4f7;
  overflow: hidden;
  max-width: 220px;
}
.vp-mini-bar > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e53935, #ff6b35);
}
.vp-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.vp-action {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.2rem 1.25rem;
  border-radius: 1.2rem;
  background: #fff;
  border: 1px solid var(--vp-line);
  box-shadow: var(--vp-shadow);
  text-decoration: none !important;
  color: inherit !important;
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 140px;
}
.vp-action i {
  font-size: 1.4rem;
  color: #e53935;
  margin-bottom: 0.35rem;
}
.vp-action strong { font-size: 1rem; color: var(--vp-ink); }
.vp-action span { color: var(--vp-muted); font-size: 0.88rem; }
.vp-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(16,24,40,0.1);
}
.vp-action.is-muted { opacity: 0.7; pointer-events: none; }
.vp-list {
  margin: 0;
  padding-left: 1.15rem;
  color: #344054;
}
.vp-list li { margin-bottom: 0.45rem; }
.vp-license {
  display: inline-block;
  background: #0b1f33;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.vp-help-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.vp-btn:disabled,
.vp-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
@media (max-width: 960px) {
  .vp-order-head {
    grid-template-columns: 28px 36px 48px 1fr;
  }
  .vp-order-head-action { display: none; }
  .vp-order-row { grid-template-columns: 28px 36px 48px 1fr; }
  .vp-order-cta,
  .vp-order-actions { grid-column: 2 / -1; justify-self: start; }
  .vp-action-grid { grid-template-columns: 1fr; }
}
