body {
  background: #ffffff;
}

.noshow-deposit-admin {
  --noshow-deposit-bg: #f3f7fb;
  --noshow-deposit-surface: rgba(255, 255, 255, 0.92);
  --noshow-deposit-surface-strong: #ffffff;
  --noshow-deposit-border: rgba(15, 23, 42, 0.08);
  --noshow-deposit-text: #142338;
  --noshow-deposit-muted: #5e6c84;
  --noshow-deposit-accent: #0f766e;
  --noshow-deposit-accent-strong: #0a5c56;
  --noshow-deposit-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
  margin-top: 20px;
  color: var(--noshow-deposit-text);
  font-family: "Montserrat", sans-serif;
}

.noshow-deposit-admin input,
.noshow-deposit-admin select,
.noshow-deposit-admin textarea,
.noshow-deposit-admin button {
  font-family: inherit;
}

.noshow-deposit-page-shell {
  padding: 4px 0 32px;
}

.noshow-deposit-page-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.noshow-deposit-eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--noshow-deposit-accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.noshow-deposit-hero-copy h1 {
  margin: 0 0 4px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: #0f172a;
}

.noshow-deposit-hero-text {
  margin: 0;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--noshow-deposit-muted);
}

.noshow-deposit-hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.noshow-deposit-upgrade-banner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12) 0%, rgba(14, 116, 144, 0.08) 100%);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.noshow-deposit-upgrade-copy h2 {
  margin: 6px 0 6px;
  font-size: 20px;
  color: #0f172a;
}

.noshow-deposit-upgrade-copy p {
  margin: 0;
  max-width: 760px;
  color: var(--noshow-deposit-muted);
  line-height: 1.7;
}

.noshow-deposit-upgrade-badge {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--noshow-deposit-accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.noshow-deposit-upgrade-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #12303a;
}

.noshow-deposit-upgrade-list li {
  margin-bottom: 6px;
}

.noshow-deposit-upgrade-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}

.noshow-deposit-upgrade-button.button.button-primary,
.noshow-deposit-upgrade-secondary.button {
  min-height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.noshow-deposit-upgrade-button.button.button-primary {
  border: 0;
  background: linear-gradient(135deg, var(--noshow-deposit-accent) 0%, #0ea5a4 100%);
  box-shadow: 0 16px 24px rgba(15, 118, 110, 0.22);
}

.noshow-deposit-upgrade-secondary.button {
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
}

.noshow-deposit-form-table,
.noshow-deposit-save-row {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  box-shadow:
    0 4px 20px rgba(15, 23, 42, 0.07),
    0 1px 4px rgba(15, 23, 42, 0.04);
}

.noshow-deposit-hero-pill {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 30px 20px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.15);
}

.noshow-deposit-hero-pill:nth-child(1) .noshow-deposit-hero-pill-icon {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.noshow-deposit-hero-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(15, 118, 110, 0.1);
  color: var(--noshow-deposit-accent);
}

.noshow-deposit-hero-pill-icon .dashicons {
  font-size: 25px;
  width: 25px;
  height: 0px;
  line-height: 0px;
}

.noshow-deposit-hero-pill-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.noshow-deposit-hero-pill span {
  display: block;
  order: 2;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: #777;
  white-space: nowrap;
}

.noshow-deposit-hero-pill:nth-child(1) span {
  color: #16a34a;
}

.noshow-deposit-hero-pill:nth-child(2) span {
  color: #777;
}

  .noshow-status-enabled {
  color: #16a34a !important;
}

.noshow-status-disabled {
  color: #dc2626 !important;
}

.noshow-deposit-hero-pill.noshow-status-enabled .noshow-deposit-hero-pill-icon {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.noshow-deposit-hero-pill.noshow-status-disabled .noshow-deposit-hero-pill-icon {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.noshow-status-enabled .dashicons {
  color: #16a34a !important;
}

.noshow-status-disabled .dashicons {
  color: #dc2626 !important;
}

.noshow-deposit-hero-pill strong {
  display: block;
  order: 1;
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
  letter-spacing: 0.3px;
}

.noshow-deposit-hero-pill code {
  white-space: normal;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.6;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.05);
}

.noshow-deposit-settings-form .notice {
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.1);
}

.noshow-deposit-form-table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  padding: 4px 16px;
  border-radius: 18px;
  overflow: hidden;
}

.noshow-deposit-form-table tbody {
  display: block;
}

.noshow-deposit-form-table tr {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: 20px;
  padding: 14px 6px;
  margin: 0;
}

.noshow-deposit-form-table tr:last-child {
  border-bottom: 0;
}

.noshow-deposit-section-row {
  grid-template-columns: 1fr !important;
  padding: 16px 6px 2px !important;
  border-bottom: 0 !important;
}

.noshow-deposit-section-row th {
  padding-top: 0;
}

.noshow-deposit-form-table th,
.noshow-deposit-form-table td {
  display: block;
  width: auto;
  padding: 0;
  margin: 0;
  vertical-align: top;
}

.noshow-deposit-form-table th {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: #0f172a;
  align-self: start;
  padding-top: calc((34px - 1.5em) / 2);
}

.noshow-deposit-section-row th {
  align-self: start;
  padding-top: 0;
}

.noshow-deposit-form-table td p.description {
  margin-top: 5px;
  color: var(--noshow-deposit-muted);
  line-height: 1.7;
}

.noshow-deposit-admin input[type="text"],
.noshow-deposit-admin input[type="password"],
.noshow-deposit-admin input[type="email"],
.noshow-deposit-admin input[type="number"],
.noshow-deposit-admin select,
.noshow-deposit-admin textarea {
  width: 100%;
  max-width: 100%;
  min-height: 34px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: var(--noshow-deposit-surface-strong);
  color: var(--noshow-deposit-text);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.noshow-deposit-admin textarea {
  min-height: 150px;
  resize: vertical;
}

.noshow-deposit-admin input[type="text"]:focus,
.noshow-deposit-admin input[type="password"]:focus,
.noshow-deposit-admin input[type="email"]:focus,
.noshow-deposit-admin input[type="number"]:focus,
.noshow-deposit-admin select:focus,
.noshow-deposit-admin textarea:focus {
  border-color: rgba(15, 118, 110, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14);
  transform: translateY(-1px);
}

.noshow-deposit-admin code {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  font-size: 12px;
}

.noshow-deposit-secret-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.noshow-deposit-secret-field .noshow-deposit-toggle-secret {
  min-width: 34px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.noshow-deposit-secret-field .noshow-deposit-toggle-secret:hover,
.noshow-deposit-secret-field .noshow-deposit-toggle-secret:focus {
  border-color: rgba(15, 118, 110, 0.55);
  color: var(--noshow-deposit-accent-strong);
}

.noshow-deposit-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.noshow-deposit-logo-preview img {
  max-height: 80px;
  max-width: 240px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  display: block;
}

.noshow-deposit-logo-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.noshow-deposit-preview-title {
  margin: 18px 0 10px;
  color: #0f172a;
}

.noshow-deposit-template-preview {
  max-width: 900px;
  padding: 12px;
  border: 1px solid #ccd0d4;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 24px rgba(15, 23, 42, 0.06);
}

.noshow-deposit-form-table hr {
  border: 0;
  height: 1px;
  background: rgba(15, 23, 42, 0.08);
  margin: 0 0 10px;
}

.noshow-deposit-form-table h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.noshow-deposit-save-row {
  display: flex;
  justify-content: flex-end;
  margin: 16px 0 0;
  padding: 14px 18px;
  border-radius: 14px;
}

.noshow-deposit-save-button.button.button-primary {
  min-height: 38px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--noshow-deposit-accent) 0%, #0ea5a4 100%);
  box-shadow: 0 16px 24px rgba(15, 118, 110, 0.22);
  text-shadow: none;
}

.noshow-deposit-save-button.button.button-primary:hover,
.noshow-deposit-save-button.button.button-primary:focus {
  background: linear-gradient(135deg, var(--noshow-deposit-accent-strong) 0%, #0f8f8e 100%);
}

/* ── Service field detect button ── */
.noshow-deposit-field-detect-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.noshow-deposit-detect-btn.button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  color: #334155;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.noshow-deposit-detect-btn.button:hover {
  border-color: rgba(15, 118, 110, 0.4);
  color: var(--noshow-deposit-accent);
}

.noshow-deposit-detect-status {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  min-height: 18px;
}

/* ── Individual service price inputs ── */
.noshow-service-price-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.noshow-service-price-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(100px, 180px);
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(248, 250, 252, 0.8);
}

.noshow-service-name-label {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.noshow-service-price-row .noshow-service-price-input {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
}

@media (max-width: 1024px) {
  .noshow-deposit-hero-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .noshow-deposit-upgrade-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 782px) {
  .noshow-deposit-page-shell {
    padding: 4px 0 24px;
  }

  .noshow-deposit-hero-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .noshow-deposit-form-table {
    padding: 8px 14px;
    border-radius: 20px;
  }

  .noshow-deposit-form-table tr {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 4px;
  }

  .noshow-deposit-save-row {
    justify-content: stretch;
    padding: 18px;
  }

  .noshow-deposit-save-button.button.button-primary {
    width: 100%;
  }
}
