/* Brand alignment for the private distributor area. */
body {
  background: #f8faf9;
  color: #1c1e21;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.reseller-header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
}

.reseller-sales-link {
  color: #174a55;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.reseller-sales-link:hover { color: #0f8e98; }

.reseller-private-badge {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 9px 14px;
  border-radius: 10px;
  background: #64daad;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1);
  color: #1c1e21;
  font-size: 12px;
  font-weight: 800;
}

.reseller-logout {
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid #d8dadf;
  border-radius: 9px;
  background: #fff;
  color: #174a55;
  font-size: 12px;
  font-weight: 800;
}

.reseller-logout:hover { border-color: #64daad; background: #f0faf6; }

.gate {
  min-height: calc(100vh - 97px);
  background:
    radial-gradient(circle at 16% 24%, rgba(100, 218, 173, .2), transparent 28%),
    radial-gradient(circle at 88% 76%, rgba(16, 184, 198, .1), transparent 30%),
    linear-gradient(135deg, #fff, #f2f8f6);
}

.gate-copy h1,
.welcome h1,
.auth-card h2,
.section-heading h2,
.split-card h2,
.admin-create h2 {
  color: #1c1e21;
}

.gate-copy h1 em,
.welcome h1 span,
.eyebrow,
.kicker { color: #0f8e98; }

.gate-copy > p:last-child,
.section-heading p { color: #606770; }

.auth-card,
.inventory-card,
.package-card,
.admin-card,
.split-card,
.admin-create,
.table-wrap {
  border-color: rgba(216, 218, 223, .72);
  box-shadow: 0 18px 50px rgba(23, 74, 85, .08);
}

.auth-card form > button:not(.link),
.split-card form > button,
.admin-create form > button,
.admin-action button {
  background: #174a55;
  box-shadow: 0 7px 18px rgba(23, 74, 85, .16);
}

.auth-card form > button:not(.link):hover,
.split-card form > button:hover,
.admin-create form > button:hover,
.admin-action button:hover { background: #0f766e; }

.welcome {
  background:
    radial-gradient(circle at 88% 12%, rgba(100, 218, 173, .22), transparent 24%),
    linear-gradient(120deg, #123237, #174a55 58%, #126974);
  box-shadow: 0 24px 60px rgba(23, 74, 85, .18);
}

.welcome h1 { color: #fff; }
.welcome .eyebrow,
.welcome h1 span { color: #64daad; }

.tabs button.active { border-color: #64daad; color: #1c1e21; }
.package-card button,
.secondary { border-color: rgba(100, 218, 173, .65); color: #0f766e; }

.guasapea-unified-footer { margin-top: 0; }

.membership-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(230px, .6fr);
  align-items: center;
  gap: 42px;
  padding: 32px 36px;
  border: 1px solid rgba(100, 218, 173, .55);
  border-radius: 22px;
  background: linear-gradient(120deg, #fff, #effaf6);
  box-shadow: 0 18px 50px rgba(23, 74, 85, .08);
}

.membership-card h2 { margin: 0 0 9px; color: #1c1e21; font: 800 28px/1.15 Montserrat, sans-serif; letter-spacing: -.04em; }
.membership-card p:last-child { max-width: 680px; margin: 0; color: #606770; font-size: 13px; line-height: 1.65; }
.membership-price { display: grid; justify-items: end; }
.membership-price strong { color: #174a55; font: 800 38px/1 Montserrat, sans-serif; letter-spacing: -.05em; }
.membership-price > span { margin-top: 4px; color: #606770; font-size: 12px; }
.membership-price small { margin-top: 12px; padding: 5px 9px; border-radius: 999px; background: #fff1dc; color: #8a6320; font-size: 10px; font-weight: 800; }
.membership-price small.active { background: #dff6e8; color: #267247; }
.membership-price button { margin-top: 14px; padding: 11px 15px; border: 0; border-radius: 9px; background: #174a55; color: #fff; font-size: 12px; font-weight: 800; }
.membership-price button:hover { background: #0f766e; }

.inventory-card { position: relative; }
.inventory-card .unlimited { color: #0f8e98; font: 800 12px/1.2 Inter, sans-serif; letter-spacing: .06em; }
.inventory-card .product-note { margin-top: 10px; color: #7b6c55; }
.inventory-card .product-action { width: 100%; margin-top: 18px; padding: 10px 13px; border: 1px solid rgba(100, 218, 173, .7); border-radius: 9px; background: #effaf6; color: #0f766e; font-size: 12px; font-weight: 800; }
.inventory-card .product-action:hover { background: #dff6eb; }
.inventory-card .product-action:disabled { color: #788682; background: #f4f6f5; border-color: #d8dadf; }

.ghl-fields { display: grid; gap: 10px; padding: 15px; border: 1px solid #dce8e6; border-radius: 12px; background: #f5faf8; }
.field-pair { display: grid; grid-template-columns: .4fr 1fr; gap: 10px; }
.field-pair label { margin: 0; }
.field-pair input { margin-top: 7px; }
.form-help { margin: 4px 0 0; color: #66817c; font-size: 11px; line-height: 1.55; }

.membership-admin { display: inline-flex; align-items: center; gap: 8px; }
.membership-admin .status { margin: 0; }

.license-key {
  display: inline-block;
  padding: 6px 8px;
  border: 1px solid #dce8e6;
  border-radius: 7px;
  background: #f5faf8;
  color: #174a55;
  font: 700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .035em;
}

.copy-license {
  margin-left: 7px;
  padding: 6px 8px;
  border: 1px solid rgba(100, 218, 173, .7);
  border-radius: 7px;
  background: #effaf6;
  color: #0f766e;
  font-size: 10px;
  font-weight: 800;
}

.copy-license:hover { background: #dff6eb; }
.download-software { display: block; margin-top: 7px; padding: 6px 9px; border: 1px solid #174a55; border-radius: 7px; background: #174a55; color: #fff; font-size: 10px; font-weight: 800; }
.download-software:hover { border-color: #0f766e; background: #0f766e; }
.download-software:disabled { cursor: wait; opacity: .65; }
.delete-license { display: block; margin-top: 6px; padding: 5px 8px; border: 1px solid #e3a1a1; border-radius: 7px; background: #fff; color: #a82d2d; font-size: 10px; font-weight: 800; }
.delete-license:hover { border-color: #c94b4b; background: #fff2f2; }
.delete-license:disabled { cursor: wait; opacity: .6; }

.license-expiry { display: block; color: #174a55; font-size: 11px; font-weight: 700; }
.renew-controls { display: flex; align-items: center; gap: 5px; margin-top: 6px; }
.renew-date { width: 126px; padding: 5px 6px; border: 1px solid #d8dadf; border-radius: 7px; background: #fff; color: #174a55; font: inherit; font-size: 10px; }
.renew-date:focus { border-color: #64daad; outline: 2px solid rgba(100, 218, 173, .2); }
.renew-license { padding: 5px 8px; border: 1px solid #d8dadf; border-radius: 7px; background: #fff; color: #0f766e; font-size: 10px; font-weight: 800; }
.renew-license:hover { border-color: #64daad; background: #effaf6; }

@media (max-width: 700px) {
  .membership-card { grid-template-columns: 1fr; gap: 23px; padding: 24px 20px; }
  .membership-price { justify-items: start; }
  .membership-price button { width: 100%; }
  .field-pair { grid-template-columns: 1fr; }
}

@media (max-width: 1120px) {
  .guasapea-unified-nav { gap: 14px; font-size: 12px; }
  .reseller-private-badge { padding: 8px 10px; font-size: 11px; }
}

@media (max-width: 767px) {
  .guasapea-unified-inner { align-items: flex-start; }
  .guasapea-unified-nav { order: 3; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 4px; }
  .guasapea-unified-nav a { flex: none; }
  .reseller-private-badge { display: none; }
  .gate { min-height: calc(100vh - 126px); }
}
