:root {
  --emp-wine: #720627;
  --emp-wine-deep: #25030f;
  --emp-wine-dark: #140208;
  --emp-gold: #d4af37;
  --emp-gold-soft: #f0d875;
  --emp-ivory: #f7f1e8;
  --emp-muted: #b9aeb1;
  --emp-line: rgba(212, 175, 55, 0.22);
  --emp-card: rgba(45, 4, 18, 0.78);
  --emp-green: #35d18a;
  --emp-orange: #f3a945;
}

.emp-login-shell {
  max-width: 760px;
  margin: 48px auto;
  padding: 28px;
}

.emporio-panel,
.emporio-panel * {
  box-sizing: border-box;
}

.emporio-panel {
  position: relative;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 820px;
  width: 100%;
  overflow: hidden;
  color: var(--emp-ivory);
  background:
    radial-gradient(circle at 88% 8%, rgba(114, 6, 39, 0.45), transparent 28%),
    linear-gradient(145deg, #100106 0%, #22020c 52%, #160108 100%);
  border: 1px solid var(--emp-line);
  border-radius: 22px;
  box-shadow: 0 32px 80px rgba(19, 0, 6, 0.28);
  font-family: "Plus Jakarta Sans", "Montserrat", Arial, sans-serif;
}

.emporio-panel h1,
.emporio-panel h2,
.emporio-panel h3,
.emporio-panel p {
  margin-top: 0;
}

.emp-sidebar {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: linear-gradient(180deg, rgba(41, 1, 14, 0.98), rgba(25, 1, 8, 0.99));
  border-right: 1px solid var(--emp-line);
}

.emp-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 104px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--emp-line);
}

.emp-logo {
  display: block;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26), 0 0 22px rgba(212, 175, 55, 0.1);
}

.emp-brand strong,
.emp-brand small {
  display: block;
}

.emp-brand strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
}

.emp-brand small {
  margin-top: 5px;
  color: var(--emp-gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.emp-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 16px 12px;
  padding: 14px;
  border: 1px solid var(--emp-line);
  border-radius: 14px;
  background: rgba(114, 6, 39, 0.22);
}

.emp-person img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 2px solid var(--emp-gold);
  border-radius: 50%;
  object-fit: cover;
}

.emp-person strong,
.emp-person span {
  display: block;
}

.emp-person strong {
  max-width: 160px;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.emp-state {
  margin-top: 4px;
  color: var(--emp-muted);
  font-size: 10px;
  line-height: 1.35;
}

.emp-state-active { color: var(--emp-green); }
.emp-state-pending { color: var(--emp-orange); }
.emp-state-expired { color: #ff8797; }

.emp-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  padding: 4px 12px 18px;
}

.emp-nav small {
  margin: 17px 10px 6px;
  color: var(--emp-gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.65px;
}

.emp-nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: #cbbfc2;
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: 180ms ease;
}

.emp-nav button:hover,
.emp-nav button:focus-visible,
.emp-nav button.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(114, 6, 39, 0.88), rgba(114, 6, 39, 0.38));
  border-left-color: var(--emp-gold);
  outline: none;
}

.emp-nav button span {
  width: 20px;
  color: var(--emp-gold);
  font-size: 16px;
  text-align: center;
}

.emp-nav button b {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: auto;
  padding: 0 6px;
  color: var(--emp-wine-dark);
  background: var(--emp-gold);
  border-radius: 999px;
  font-size: 10px;
}

.emp-logout {
  display: block;
  padding: 20px 24px;
  color: #cbbfc2;
  border-top: 1px solid var(--emp-line);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.emp-main {
  min-width: 0;
}

.emp-topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 90px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--emp-line);
  background: rgba(20, 1, 8, 0.52);
  backdrop-filter: blur(16px);
}

.emp-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--emp-gold);
  background: rgba(114, 6, 39, 0.28);
  border: 1px solid var(--emp-line);
  border-radius: 10px;
  font-size: 20px;
}

.emp-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(440px, 100%);
  min-height: 46px;
  padding: 0 16px;
  background: rgba(9, 0, 4, 0.52);
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 12px;
}

.emp-search span {
  color: var(--emp-gold);
  font-size: 20px;
}

.emp-search input {
  width: 100%;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  font: inherit;
  font-size: 13px;
}

.emp-search input::placeholder { color: #74696c; }

.emp-outline-button,
.emp-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 9px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
}

.emp-outline-button {
  margin-left: auto;
  color: var(--emp-ivory) !important;
  background: rgba(114, 6, 39, 0.35);
  border: 1px solid var(--emp-gold);
}

.emp-primary-button {
  color: #24020d !important;
  background: linear-gradient(135deg, var(--emp-gold-soft), var(--emp-gold));
  border: 1px solid var(--emp-gold);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.13);
}

.emp-outline-button:hover,
.emp-primary-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.emp-content {
  padding: 28px;
}

.emp-tab {
  display: none;
  animation: empFade 220ms ease both;
}

.emp-tab.is-active { display: block; }

@keyframes empFade {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.emp-alert {
  position: absolute;
  z-index: 20;
  top: 16px;
  right: 18px;
  max-width: 420px;
  padding: 13px 17px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.emp-alert-success {
  color: #d8ffed;
  background: #0b6d49;
  border: 1px solid #35d18a;
}

.emp-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--emp-gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.emp-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
  padding: 28px 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 24%, rgba(212, 175, 55, 0.14), transparent 34%),
    linear-gradient(120deg, #680520, #31020f);
  border: 1px solid var(--emp-gold);
  border-radius: 17px;
}

.emp-hero h1,
.emp-section-title h1 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.08;
}

.emp-hero p,
.emp-section-title p {
  margin-bottom: 0;
  color: #d3c6c9;
  font-size: 13px;
  line-height: 1.65;
}

.emp-membership {
  width: min(270px, 100%);
  flex: 0 0 270px;
  padding: 18px;
  text-align: right;
  background: rgba(18, 1, 7, 0.32);
  border: 1px solid var(--emp-gold);
  border-radius: 13px;
}

.emp-membership small,
.emp-membership strong,
.emp-membership span {
  display: block;
}

.emp-membership small {
  color: #c7b8bc;
  font-size: 10px;
}

.emp-membership strong {
  margin: 7px 0 6px;
  color: var(--emp-gold-soft);
  font-size: 16px;
  line-height: 1.3;
}

.emp-membership span {
  color: #dfd3d5;
  font-size: 10px;
}

.emp-membership-active { box-shadow: inset 3px 0 0 var(--emp-green); }
.emp-membership-pending { box-shadow: inset 3px 0 0 var(--emp-orange); }
.emp-membership-expired { box-shadow: inset 3px 0 0 #ff6d83; }

.emp-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.emp-metrics article {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 17px;
  background: var(--emp-card);
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 13px;
}

.emp-metrics article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: var(--emp-gold);
  background: rgba(114, 6, 39, 0.46);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
}

.emp-metrics strong,
.emp-metrics small {
  display: block;
}

.emp-metrics strong {
  color: #fff;
  font-size: 22px;
}

.emp-metrics small {
  margin-top: 4px;
  color: var(--emp-muted);
  font-size: 10px;
  line-height: 1.35;
}

.emp-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

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

.emp-card {
  min-width: 0;
  margin-bottom: 18px;
  padding: 24px;
  background: var(--emp-card);
  border: 1px solid rgba(212, 175, 55, 0.17);
  border-radius: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.015);
}

.emp-card h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.3;
}

.emp-card p {
  color: #c5b8bb;
  font-size: 12px;
  line-height: 1.7;
}

.emp-card-head,
.emp-section-title,
.emp-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.emp-card-head { margin-bottom: 18px; }
.emp-card-head h2 { margin-bottom: 0; }
.emp-card-head > strong { color: var(--emp-gold); font-size: 18px; }
.emp-card-head a { color: var(--emp-gold) !important; font-size: 11px; font-weight: 800; text-decoration: none; }

.emp-section-title {
  align-items: flex-end;
  margin-bottom: 24px;
}

.emp-section-title > div { max-width: 720px; }

.emp-progress {
  height: 7px;
  margin: 4px 0 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.emp-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--emp-wine), var(--emp-gold));
  border-radius: inherit;
}

.emp-checklist {
  margin: 0 0 20px !important;
  padding: 0 !important;
  list-style: none !important;
}

.emp-checklist li {
  position: relative;
  margin: 0 !important;
  padding: 7px 0 7px 26px !important;
  color: var(--emp-muted);
  font-size: 11px;
}

.emp-checklist li::before {
  position: absolute;
  left: 0;
  top: 7px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  content: "";
  border: 1px solid #6f6064;
  border-radius: 50%;
}

.emp-checklist li.is-done { color: #e8dfe1; }
.emp-checklist li.is-done::before { content: "✓"; color: #032d1c; background: var(--emp-green); border-color: var(--emp-green); font-size: 10px; font-weight: 900; }

.emp-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.emp-actions-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.emp-actions a,
.emp-actions button {
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 11px;
  align-items: center;
  min-width: 0;
  padding: 14px;
  color: var(--emp-ivory) !important;
  background: rgba(16, 0, 6, 0.38);
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 11px;
  font: inherit;
  text-align: left;
  text-decoration: none !important;
  cursor: pointer;
}

.emp-actions a:hover,
.emp-actions button:hover {
  background: rgba(114, 6, 39, 0.32);
  border-color: var(--emp-gold);
}

.emp-actions span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--emp-gold);
  background: rgba(114, 6, 39, 0.5);
  border-radius: 9px;
}

.emp-actions strong { font-size: 11px; }
.emp-actions small { color: var(--emp-muted); font-size: 9px; line-height: 1.35; }

.emp-list {
  display: grid;
  gap: 9px;
}

.emp-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 15px;
  padding: 14px 16px;
  color: var(--emp-ivory);
  background: rgba(10, 0, 4, 0.32);
  border: 1px solid rgba(212, 175, 55, 0.11);
  border-radius: 10px;
}

.emp-list-link { color: var(--emp-ivory) !important; text-decoration: none !important; }
.emp-list-link:hover { border-color: var(--emp-gold); background: rgba(114, 6, 39, 0.25); }
.emp-list-row strong,
.emp-list-row span { display: block; }
.emp-list-row strong { color: #fff; font-size: 11px; }
.emp-list-row div span { margin-top: 4px; color: var(--emp-muted); font-size: 9px; }

.emp-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 25px;
  padding: 5px 10px;
  color: var(--emp-gold-soft);
  background: rgba(114, 6, 39, 0.46);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}

.emp-empty {
  padding: 26px;
  text-align: center;
  background: rgba(10, 0, 4, 0.28);
  border: 1px dashed rgba(212, 175, 55, 0.28);
  border-radius: 11px;
}

.emp-empty strong,
.emp-empty span { display: block; }
.emp-empty strong { color: #fff; font-size: 12px; }
.emp-empty span { margin-top: 6px; color: var(--emp-muted); font-size: 10px; }

.emp-card-footer { margin-top: 18px; }
.emp-card-footer .emp-outline-button { margin-left: 0; }

.emp-form {
  display: grid;
  gap: 16px;
}

.emp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.emp-form label {
  display: grid;
  gap: 7px;
  color: #ede4e6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.emp-form input,
.emp-form select,
.emp-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px !important;
  color: #fff !important;
  background: rgba(8, 0, 3, 0.48) !important;
  border: 1px solid rgba(212, 175, 55, 0.18) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  font: inherit;
  font-size: 12px;
  outline: none;
}

.emp-form select option { color: #111; background: #fff; }
.emp-form textarea { min-height: 120px; resize: vertical; }
.emp-form input:focus,
.emp-form select:focus,
.emp-form textarea:focus { border-color: var(--emp-gold) !important; }

.emp-preview-card {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.emp-preview-card img {
  width: 88px;
  height: 88px;
  margin: 6px 0 18px;
  object-fit: cover;
  border: 2px solid var(--emp-gold);
  border-radius: 50%;
}

.emp-preview-card > strong { color: var(--emp-gold); font-size: 11px; }
.emp-preview-card > p { margin: 18px 0; }
.emp-preview-card > a,
.emp-inline-links a { color: var(--emp-gold) !important; font-size: 10px; font-weight: 800; text-decoration: none; }

.emp-feature-card {
  max-width: 720px;
  padding: 42px;
  text-align: center;
}

.emp-feature-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  color: var(--emp-gold);
  background: rgba(114, 6, 39, 0.52);
  border: 1px solid var(--emp-gold);
  border-radius: 18px;
  font-size: 30px;
}

.emp-feature-card p { max-width: 560px; margin: 0 auto 22px; }
.emp-feature-card .emp-status { margin: 0 auto; }

.emp-expiry {
  display: inline-block;
  margin-top: 10px;
  color: var(--emp-gold-soft);
  font-size: 12px;
}

.emp-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 18px;
}

.emp-thankyou {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 28px;
  padding: 28px 30px;
  color: var(--emp-ivory);
  background:
    radial-gradient(circle at 92% 15%, rgba(212, 175, 55, 0.16), transparent 34%),
    linear-gradient(125deg, #25030f, #680520);
  border: 1px solid var(--emp-gold);
  border-radius: 17px;
  box-shadow: 0 22px 54px rgba(25, 0, 8, 0.2);
  font-family: "Plus Jakarta Sans", "Montserrat", Arial, sans-serif;
}

.emp-thankyou > div { max-width: 720px; }
.emp-thankyou span { color: var(--emp-gold); }
.emp-thankyou > div > span { display: block; margin-bottom: 8px; font-size: 9px; font-weight: 900; letter-spacing: 1.7px; }
.emp-thankyou h2 { margin: 0 0 8px; color: #fff; font-size: clamp(23px, 3vw, 34px); line-height: 1.12; }
.emp-thankyou p { margin: 0; color: #dbcfd1; font-size: 13px; line-height: 1.65; }
.emp-thankyou-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 9px;
  min-width: 230px;
}

.emp-thankyou-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  flex: 0 0 auto;
  padding: 12px 20px;
  color: #24020d !important;
  background: linear-gradient(135deg, var(--emp-gold-soft), var(--emp-gold));
  border: 1px solid var(--emp-gold);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none !important;
}

.emp-thankyou-actions > .emp-whatsapp-button {
  color: #062e20 !important;
  background: linear-gradient(135deg, #72f0b2, #25d366);
  border-color: #54e79b;
}

.emp-thankyou-actions > .emp-panel-button {
  color: var(--emp-gold-soft) !important;
  background: rgba(16, 1, 6, 0.46);
  border-color: rgba(212, 175, 55, 0.54);
}

.emp-checkout-whatsapp {
  display: grid;
  gap: 5px;
  margin: 0 0 22px;
  padding: 17px 19px;
  color: var(--emp-ivory);
  background: linear-gradient(135deg, #25030f, #5c051d);
  border: 1px solid rgba(212, 175, 55, 0.62);
  border-left: 5px solid #25d366;
  border-radius: 12px;
  font-family: "Plus Jakarta Sans", "Montserrat", Arial, sans-serif;
}

.emp-checkout-whatsapp strong { color: #fff; font-size: 14px; }
.emp-checkout-whatsapp span { color: #dbcfd1; font-size: 12px; line-height: 1.55; }

.emp-thankyou-active { box-shadow: inset 5px 0 0 var(--emp-green), 0 22px 54px rgba(25, 0, 8, 0.2); }
.emp-thankyou-pending { box-shadow: inset 5px 0 0 var(--emp-orange), 0 22px 54px rgba(25, 0, 8, 0.2); }
.emp-thankyou-attention { box-shadow: inset 5px 0 0 #ff6d83, 0 22px 54px rgba(25, 0, 8, 0.2); }

@media (max-width: 1100px) {
  .emporio-panel { grid-template-columns: 250px minmax(0, 1fr); }
  .emp-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .emp-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .emporio-panel { display: block; min-height: 760px; border-radius: 14px; }
  .emp-sidebar { position: absolute; inset: 0 auto 0 0; width: min(290px, 88vw); transform: translateX(-105%); box-shadow: 20px 0 60px rgba(0, 0, 0, 0.42); transition: transform 220ms ease; }
  .emporio-panel.is-menu-open .emp-sidebar { transform: translateX(0); }
  .emp-menu-toggle { display: grid; place-items: center; flex: 0 0 42px; }
  .emp-topbar { min-height: 74px; padding: 14px 16px; }
  .emp-topbar > .emp-outline-button { display: none; }
  .emp-content { padding: 18px; }
  .emp-hero { align-items: flex-start; flex-direction: column; padding: 22px; }
  .emp-membership { width: 100%; flex-basis: auto; text-align: left; }
  .emp-section-title { align-items: flex-start; flex-direction: column; }
  .emp-section-title .emp-outline-button,
  .emp-section-title .emp-primary-button { margin-left: 0; }
  .emp-thankyou { align-items: flex-start; flex-direction: column; padding: 23px; }
  .emp-thankyou-actions { width: 100%; min-width: 0; }
  .emp-thankyou-actions > a { width: 100%; }
}

@media (max-width: 560px) {
  .emp-content { padding: 13px; }
  .emp-hero h1,
  .emp-section-title h1 { font-size: 26px; }
  .emp-metrics,
  .emp-actions,
  .emp-actions-wide,
  .emp-form-grid { grid-template-columns: 1fr; }
  .emp-metrics article { padding: 14px; }
  .emp-card { padding: 18px; }
  .emp-card-head,
  .emp-form-actions { align-items: flex-start; flex-direction: column; }
  .emp-list-row { grid-template-columns: 1fr auto; }
  .emp-list-row > strong:last-child { grid-column: 1 / -1; }
  .emp-feature-card { padding: 28px 18px; }
}
