:root {
  --bg-0: #f4f0e7;
  --bg-1: #ecf3ea;
  --ink-0: #1d2b2a;
  --ink-1: #3b5150;
  --card: rgba(255, 252, 246, 0.92);
  --line: #bfccc2;
  --brand: #2b8a6d;
  --brand-deep: #1f6953;
  --gold: #eab86d;
  --danger: #d55d71;
  --warning: #d7943c;
  --shadow: 0 18px 40px rgba(30, 44, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink-0);
  background:
    radial-gradient(1000px 620px at 0% 0%, #e7f8ee 0%, transparent 64%),
    radial-gradient(1000px 700px at 100% 0%, #ffe9c8 0%, transparent 64%),
    linear-gradient(165deg, var(--bg-0), var(--bg-1));
  padding: 18px 16px 48px;
}

.orb {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(12px);
}

.orb-a {
  width: 260px;
  height: 260px;
  top: -80px;
  left: -90px;
  background: rgba(74, 178, 139, 0.35);
}

.orb-b {
  width: 230px;
  height: 230px;
  right: -90px;
  bottom: 8%;
  background: rgba(234, 184, 109, 0.36);
}

.topbar {
  position: relative;
  z-index: 2;
}

.topbar-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(35, 82, 67, 0.2);
  border-radius: 16px;
  background: rgba(245, 255, 249, 0.75);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 20px rgba(17, 26, 23, 0.08);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.brand {
  font-family: "Chivo", sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  color: #23453b;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-sep {
  color: #68857b;
  font-size: 0.72rem;
  line-height: 1;
}

.lang-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 6px;
  border: 1px solid #b7c9bf;
  border-radius: 10px;
  background: rgba(246, 252, 248, 0.9);
}

.lang-label {
  font-size: 0.78rem;
  color: #315a52;
}

.lang-select {
  height: 28px;
  border-radius: 8px;
  border: 1px solid #9fb6aa;
  background: #fbfdfa;
  font: inherit;
  font-size: 0.8rem;
  color: #1f4d41;
  padding: 0 6px;
}

.lang-apply {
  font-size: 0.78rem;
}

.top-actions form {
  margin: 0;
}

.top-login-btn {
  height: 32px;
  padding: 0 12px;
}

.top-actions a,
.link-button {
  font: inherit;
  color: #1f6a55;
  font-weight: 700;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.page-wrap {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 18px auto 0;
  display: grid;
  gap: 16px;
}

.flash-stack {
  display: grid;
  gap: 10px;
}

.flash {
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.92rem;
  border: 1px solid;
  transition: opacity 240ms ease, transform 240ms ease;
}

.flash.is-dismissing {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
}

.flash-success {
  background: #d7f2e4;
  border-color: #73b38f;
  color: #1f5d42;
}

.flash-error {
  background: #f8d8de;
  border-color: #cf6e81;
  color: #6d2231;
}

.flash-warning {
  background: #fde8cc;
  border-color: #d8a255;
  color: #6f4a18;
}

.hero-card,
.panel,
.auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 22px;
}

.hero-card.compact {
  padding: 18px 22px;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.76rem;
  color: #2d7f64;
  font-weight: 700;
}

h1,
h2 {
  font-family: "Chivo", sans-serif;
  letter-spacing: 0.01em;
}

h1 {
  margin: 10px 0 0;
  font-size: clamp(1.7rem, 3.7vw, 2.8rem);
}

h2 {
  margin: 0 0 12px;
  font-size: 1.07rem;
}

.lead {
  margin: 10px 0 0;
  color: var(--ink-1);
  line-height: 1.55;
}

.dashboard-hero-note {
  margin-top: 12px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fdf9, #eef7f1);
  padding: 12px;
  color: #1f4f43;
  line-height: 1.55;
}

.dashboard-hero-note p {
  margin: 0 0 8px;
}

.dashboard-hero-note p:last-child {
  margin-bottom: 0;
}

.dashboard-hero-note a {
  color: #156f57;
  font-weight: 700;
  text-decoration: underline;
}

.dashboard-hero-note img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: none;
}

.muted {
  color: #5f7271;
  margin: 8px 0;
}

.grid-two {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-one {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.panel {
  padding: 18px;
}

.public-services-panel h1 {
  margin-top: 8px;
}

.public-services-panel .lead {
  margin-bottom: 16px;
}

.public-services-title {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 900;
}

.admin-tabs-shell {
  display: grid;
  gap: 14px;
}

.admin-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: none;
  border-radius: 16px;
  background: rgba(245, 251, 246, 0.88);
}

.admin-tab-btn {
  border: none;
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  color: #1d5a49;
  background: #eaf6ef;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 120ms ease, filter 120ms ease;
}

.admin-tab-btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.03);
}

.admin-tab-btn.is-active {
  border-color: var(--brand-deep);
  color: #f5fffb;
  background: linear-gradient(180deg, var(--brand), var(--brand-deep));
}

.admin-tab-panel {
  display: none;
  gap: 14px;
}

.admin-tab-panel.is-active {
  display: grid;
}

.admin-tab-panel[hidden] {
  display: none !important;
}

.stats-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stats-summary-card {
  border: 1px solid #bfd0c6;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(248, 252, 248, 0.98), rgba(234, 243, 236, 0.96));
  padding: 12px;
}

.stats-summary-label {
  margin: 0;
  color: #42625c;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.stats-summary-value {
  margin: 8px 0 0;
  font-family: "Chivo", sans-serif;
  font-size: 1.18rem;
  color: #1f5a48;
}

.log-user-agent-cell {
  max-width: 360px;
  white-space: normal;
  word-break: break-word;
  color: #405b57;
}

.category-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px;
  border: 1px solid #bbcbc2;
  border-radius: 12px;
  background: rgba(245, 251, 246, 0.88);
}

.category-tab-btn {
  border: 1px solid #9db8aa;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.84rem;
  color: #1d5a49;
  background: #eaf6ef;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 120ms ease, filter 120ms ease;
}

.category-tab-btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.03);
}

.category-tab-btn.is-active {
  border-color: var(--brand-deep);
  color: #f5fffb;
  background: linear-gradient(180deg, var(--brand), var(--brand-deep));
}

.metric-value {
  font-family: "Chivo", sans-serif;
  font-size: 1.5rem;
  margin: 6px 0 8px;
  color: #1f5a48;
}

.dashboard-account-line {
  padding: 12px 16px;
}

.dashboard-account-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.dashboard-account-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  color: #244944;
}

.dashboard-account-item strong {
  color: #173e34;
}

.dashboard-inline-form {
  margin: 0;
}

.dashboard-account-row .btn {
  width: auto;
}

.icon-btn {
  width: 40px;
  min-width: 40px;
  padding: 0;
  font-size: 1.08rem;
  line-height: 1;
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: #264644;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: #264644;
}

.form-field > label {
  margin: 0;
}

.web-asset-link {
  color: #1f6a55;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.web-asset-link:hover {
  text-decoration: underline;
}

.web-asset-thumb {
  max-width: min(260px, 100%);
  border-radius: 10px;
  border: 1px solid #bfd0c6;
  background: #ffffff;
  padding: 4px;
}

.web-asset-thumb.is-favicon {
  max-width: 52px;
  max-height: 52px;
  padding: 2px;
  border-radius: 8px;
}

.web-asset-remove {
  margin-top: 2px;
  width: fit-content;
}

.full-row {
  grid-column: span 2;
}

input,
select,
textarea {
  height: 42px;
  border-radius: 11px;
  border: 1px solid #a8c1b3;
  background: #fcfdfa;
  padding: 0 12px;
  width: 100%;
  font: inherit;
  color: var(--ink-0);
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

textarea {
  min-height: 108px;
  height: auto;
  padding: 10px 12px;
  resize: vertical;
}

select {
  appearance: none;
  line-height: 1.2;
  padding-right: 36px;
  background-image:
    linear-gradient(45deg, transparent 50%, #2b5648 50%),
    linear-gradient(135deg, #2b5648 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(43, 138, 109, 0.16);
  transform: translateY(-1px);
}

.btn {
  border: 1px solid #6d9f8c;
  border-radius: 11px;
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  color: #174032;
  background: linear-gradient(180deg, #d4efe4, #bde1d1);
  transition: transform 120ms ease, filter 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.03);
}

.btn.primary {
  border-color: var(--brand-deep);
  color: #f5fffb;
  background: linear-gradient(180deg, var(--brand), var(--brand-deep));
}

.btn.danger {
  border-color: #a24659;
  color: #fff7f8;
  background: linear-gradient(180deg, #e89baa, var(--danger));
}

.btn.small {
  height: 34px;
  font-size: 0.8rem;
}

.inline-group {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topup-preview {
  align-items: start;
}

.wallet-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wallet-summary-card {
  background: var(--card);
  border: 1px solid #bfd0c6;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.wallet-summary-value {
  margin: 0;
  font-family: "Chivo", sans-serif;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  line-height: 1.1;
  font-weight: 900;
}

.wallet-summary-label {
  margin: 6px 0 0;
  color: #203f3a;
  font-size: 0.95rem;
  font-weight: 700;
}

.wallet-summary-card.is-topup .wallet-summary-value {
  color: #2d67da;
}

.wallet-summary-card.is-used .wallet-summary-value {
  color: #2b9a3b;
}

.wallet-summary-card.is-current .wallet-summary-value {
  color: #c9800f;
}

.qr-wrap {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.qr-image {
  width: min(100%, 330px);
  border-radius: 12px;
  border: 1px solid #bfd0c6;
  background: #ffffff;
  padding: 8px;
}

.code-chip {
  display: inline-block;
  border: 1px dashed #337b62;
  border-radius: 10px;
  padding: 4px 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #205746;
  background: #eaf7f1;
}

.live-note {
  margin-top: 10px;
  color: #245447;
  font-size: 0.9rem;
}

.table-shell {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #bccdc2;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
  background: #f8fbf5;
}

#orders-runtime-table tbody tr:nth-child(odd) {
  background: #e9f2eb;
}

#orders-runtime-table tbody tr:nth-child(even) {
  background: #d5e4d8;
}

#orders-runtime-table tbody tr:hover {
  background: #bed2c3;
}

.service-price-board {
  overflow: hidden;
  border: 1px solid #e2c49a;
  background: linear-gradient(140deg, #fff7e4 0%, #f9eed8 58%, #f6e9ce 100%);
  box-shadow: 0 10px 20px rgba(140, 96, 30, 0.1);
}

.service-price-board > h2 {
  margin: 0 0 14px;
  font-family: "Chivo", sans-serif;
  font-size: clamp(1.16rem, 2.4vw, 1.55rem);
  color: #91530a;
}

.service-price-board > h2::after {
  content: "";
  display: block;
  width: min(240px, 62%);
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f7b35f, #ef8f2a, #d77413);
}

.service-price-category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.service-board-tab-list {
  display: flex;
  margin: 0 0 12px;
}

.service-price-category-card {
  --category-bg-start: rgba(248, 252, 248, 0.98);
  --category-bg-end: rgba(234, 243, 236, 0.96);
  --category-border: #bfd0c6;
  --category-title-color: #264a41;
  --category-title-start: #2a6b59;
  --category-title-end: #3c8c75;
  --category-scroll-border: rgba(51, 74, 67, 0.34);
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--category-bg-start), var(--category-bg-end));
  padding: 12px;
  box-shadow: 0 8px 18px rgba(20, 52, 44, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-price-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20, 52, 44, 0.14);
}

.service-price-category-title {
  margin: 0 0 10px;
  font-family: "Chivo", sans-serif;
  font-size: 0.95rem;
  color: var(--category-title-color);
  font-weight: 800;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-price-category-title::after {
  content: "";
  flex: 1;
  min-width: 44px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--category-title-start), var(--category-title-end));
}

.service-price-category-card[data-category-name*="facebook" i] {
  --category-bg-start: rgba(230, 241, 255, 0.98);
  --category-bg-end: rgba(204, 226, 255, 0.95);
  --category-border: #7ea8f0;
  --category-title-color: #1949a9;
  --category-title-start: #155ecf;
  --category-title-end: #55a2ff;
  --category-scroll-border: rgba(74, 120, 207, 0.48);
}

.service-price-category-card[data-category-name*="tiktok" i],
.service-price-category-card[data-category-name*="tik tok" i] {
  --category-bg-start: rgba(29, 35, 45, 0.95);
  --category-bg-end: rgba(54, 35, 50, 0.92);
  --category-border: #66d0d8;
  --category-title-color: #dbf8ff;
  --category-title-start: #2ef6ff;
  --category-title-end: #ff53a1;
  --category-scroll-border: rgba(91, 212, 220, 0.62);
}

.service-price-category-card[data-category-name*="youtube" i] {
  --category-bg-start: rgba(255, 235, 235, 0.98);
  --category-bg-end: rgba(255, 210, 210, 0.95);
  --category-border: #ff9999;
  --category-title-color: #b11818;
  --category-title-start: #d90000;
  --category-title-end: #ff7a00;
  --category-scroll-border: rgba(228, 87, 87, 0.56);
}

.service-price-category-card[data-category-name*="google" i] {
  --category-bg-start: rgba(236, 245, 255, 0.98);
  --category-bg-end: rgba(255, 244, 225, 0.96);
  --category-border: #d2b271;
  --category-title-color: #2e5fa7;
  --category-title-start: #1a73e8;
  --category-title-end: #ea4335;
  --category-scroll-border: rgba(184, 137, 46, 0.52);
}

.service-price-scroll {
  border: none;
  border-radius: 12px;
  overflow: auto;
  max-height: 230px;
  background: rgba(255, 255, 255, 0.88);
}

.service-price-scroll.is-row-limited {
  overscroll-behavior: contain;
}

.service-price-table {
  min-width: 620px;
  background: transparent;
}

.service-price-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
}

.service-price-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.88);
}

.service-price-table tbody tr:nth-child(even) {
  background: rgba(245, 250, 248, 0.86);
}

.service-price-table tbody tr:hover {
  background: rgba(238, 246, 245, 0.95);
}

.table-shell form {
  margin: 0;
}
.table-shell input[type="number"],
.table-shell input[type="text"] {
  height: 32px;
  padding: 0.3rem 0.55rem;
}
.check-inline {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}
.check-inline input[type="checkbox"] {
  width: auto;
  height: auto;
  margin: 0;
}

th,
td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #d6e0d8;
  font-size: 0.84rem;
}

th {
  background: #e8f1ea;
  color: #2b4d49;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-action-form {
  display: grid;
  gap: 8px;
}

.service-note-toggle {
  margin-top: 2px;
}

.service-note-config {
  border: 1px solid #9cb8aa;
  border-radius: 10px;
  background: #f7fbf8;
  padding: 8px;
}

.service-note-config summary {
  cursor: pointer;
  font-weight: 700;
  color: #24584b;
}

.service-note-editor {
  margin-top: 8px;
}

.rich-editor-shell {
  display: grid;
  gap: 8px;
}

.rich-editor .ql-toolbar.ql-snow {
  border: 1px solid #aac2b6;
  border-radius: 10px 10px 0 0;
  background: #f1f8f4;
}

.rich-editor .ql-container.ql-snow {
  border: 1px solid #aac2b6;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: #ffffff;
  min-height: 120px;
}

.rich-editor-lg .ql-container.ql-snow {
  min-height: 160px;
}

.rich-editor .ql-editor {
  min-height: 120px;
  color: #1e3732;
  line-height: 1.45;
}

.rich-editor-lg .ql-editor {
  min-height: 160px;
}

.rich-editor .ql-editor img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #c5d8cf;
}

.rich-editor .ql-editor p {
  margin: 0 0 8px;
}

.rich-editor .ql-editor p:last-child {
  margin-bottom: 0;
}

.service-action-form .btn {
  width: auto;
}

.service-note-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-note-upload-btn {
  position: relative;
  overflow: hidden;
}

.service-note-upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.service-name-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.order-user-link.no-link {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}

.order-form {
  grid-template-columns: minmax(420px, 2.8fr) minmax(120px, 0.7fr) minmax(140px, 0.85fr);
  align-items: end;
}

.order-form .order-field-service {
  min-width: 0;
}

.order-form .order-field-qty,
.order-form .order-field-fee {
  min-width: 0;
}

.service-preview {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
}

.order-form .full-row {
  grid-column: 1 / -1;
}

.order-create-panel {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(78, 160, 132, 0.3) 0%, rgba(17, 38, 34, 0.9) 58%),
    linear-gradient(165deg, #102725, #0d1d1b);
  border-color: #355c51;
  box-shadow: 0 22px 46px rgba(8, 21, 19, 0.45);
  color: #e6f6f0;
}

.order-create-panel h2 {
  color: #f3fff9;
}

.order-create-panel .muted {
  color: #b8d3c9;
}

.order-create-panel label {
  color: #d6eee4;
}

.order-create-panel input,
.order-create-panel select,
.order-create-panel textarea {
  background: #122a27;
  border-color: #356255;
  color: #ecfff8;
}

.order-create-panel input::placeholder,
.order-create-panel textarea::placeholder {
  color: #90b6ab;
}

.order-create-panel .category-tab-list {
  background: rgba(16, 40, 35, 0.72);
  border-color: #3b6357;
}

.order-create-panel .category-tab-btn {
  background: #1b4138;
  border-color: #457466;
  color: #d9f4e9;
}

.order-field-comments[hidden] {
  display: none !important;
}

.order-inline-errors {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.order-inline-errors .flash {
  margin: 0;
}

.order-vip-plan-fields[hidden] {
  display: none !important;
}

.order-vip-plan-fields {
  border: 1px dashed #3f6a5d;
  border-radius: 12px;
  padding: 12px;
  background: rgba(12, 34, 29, 0.42);
}

.order-vip-plan-fields > label {
  display: block;
  margin-bottom: 10px;
}

.order-vip-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.order-vip-plan-grid label {
  display: block;
}

.order-vip-plan-grid input,
.order-vip-plan-grid select {
  width: 100%;
}

.order-comments-layout {
  display: block;
}

.order-comments-layout textarea {
  width: 100%;
}

.order-field-comments.is-with-guide .order-comments-layout {
  display: block;
}

.order-comments-guide {
  margin-top: 0;
  border: none;
  border-radius: 12px;
  background: rgba(12, 34, 29, 0.88);
  padding: 10px;
}

.order-comments-guide-title {
  margin: 0 0 6px;
  font-weight: 700;
  color: #e8fff5;
}

.order-comments-guide-path {
  margin: 0 0 10px;
  color: #c8e6dc;
  font-size: 0.9rem;
}

.order-comments-guide img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: none;
}

.order-service-note {
  border: none;
  border-radius: 12px;
  background: rgba(12, 34, 29, 0.82);
  padding: 10px 12px;
}

.order-service-note-title {
  margin: 0 0 8px;
  color: #e8fff5;
  font-weight: 700;
}

.order-service-note-content {
  color: #d9f1e8;
  line-height: 1.5;
}

.order-service-note-content p {
  margin: 0 0 8px;
}

.order-service-note-content p:last-child {
  margin-bottom: 0;
}

.order-service-note-content a {
  color: #95f0d0;
  text-decoration: underline;
}

.order-service-note-content img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: none;
}

.order-create-panel .category-tab-btn.is-active {
  border-color: #8dd6bf;
  color: #0a221b;
  background: linear-gradient(180deg, #53b594, #2f7f65);
}

.auth-shell {
  min-height: calc(100vh - 170px);
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(520px, 100%);
  padding: 24px;
}

.auth-footnote {
  margin: 14px 0 0;
  color: #4c6362;
}

.auth-footnote a {
  color: #1f6f58;
  font-weight: 700;
}

.error-panel {
  text-align: center;
  padding: 26px;
}

@media (max-width: 920px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    padding: 0 0 32px;
  }

  .topbar {
    display: block;
    width: 100vw;
    margin: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .topbar-inner,
  .page-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .topbar-inner {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 10px 12px;
    box-sizing: border-box;
    align-items: stretch;
  }

  .top-actions {
    width: 100%;
    gap: 8px;
    align-items: flex-start;
  }

  .top-nav-links {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .top-nav-links a {
    white-space: nowrap;
  }

  .grid-two,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .order-form {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .page-wrap > *,
  .order-form > * {
    min-width: 0;
  }

  .order-vip-plan-grid {
    grid-template-columns: 1fr;
  }

  .stats-summary-grid {
    grid-template-columns: 1fr;
  }

  .service-price-category-grid {
    grid-template-columns: 1fr;
  }

  .service-board-tab-list {
    display: flex;
  }

  .service-price-category-card[hidden] {
    display: none !important;
  }

  .wallet-summary-grid {
    grid-template-columns: 1fr;
  }

  .full-row {
    grid-column: span 1;
  }

  .btn {
    width: 100%;
  }

  .topbar-inner {
    flex-direction: column;
  }

  .top-actions {
    flex-wrap: wrap;
  }

  .top-actions .top-login-btn {
    width: auto;
  }

  .service-price-scroll,
  .table-shell {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
  }

  .service-price-scroll {
    overflow-x: hidden;
    max-height: none;
  }

  .service-price-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }

  .service-price-table th,
  .service-price-table td {
    padding: 8px 6px;
    font-size: 0.74rem;
    word-break: break-word;
  }

  .service-price-table th:nth-child(3),
  .service-price-table th:nth-child(4),
  .service-price-table td:nth-child(3),
  .service-price-table td:nth-child(4) {
    display: none;
  }

  .service-price-table th:nth-child(1),
  .service-price-table td:nth-child(1) {
    width: 54px;
  }

  .service-price-table th:nth-child(5),
  .service-price-table td:nth-child(5) {
    width: 88px;
    white-space: nowrap;
  }

  .service-name-with-icon {
    display: block;
  }

  .lang-form {
    width: 100%;
    justify-content: flex-start;
  }

  .admin-tab-list {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .category-tab-list {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .dashboard-account-row {
    align-items: flex-start;
  }

  .dashboard-account-row .btn {
    width: auto;
  }
}

