/* =========================================================
   G WELLNESS RETREAT — LUXURY DESIGN SYSTEM
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Luxurious Earth & Gold Palette */
  --bg-deep: #060907;
  --bg-surface: rgba(14, 22, 17, 0.75);
  --bg-card: rgba(18, 29, 23, 0.82);
  --bg-card-hover: rgba(25, 40, 32, 0.9);
  --bg-input: rgba(9, 15, 12, 0.85);

  --gold-300: #f5e4a8;
  --gold-400: #e2ba6d;
  --gold-500: #d4af37;
  --gold-600: #b89324;
  --gold-gradient: linear-gradient(135deg, #f7e7b5 0%, #d4af37 50%, #9e7914 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);

  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.2);

  --text-main: #f4f8f5;
  --text-secondary: #a3baa9;
  --text-muted: #647a6b;

  --border-glass: rgba(212, 175, 55, 0.16);
  --border-focus: rgba(212, 175, 55, 0.55);
  --border-emerald: rgba(52, 211, 153, 0.3);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-gold: 0 10px 40px -10px rgba(212, 175, 55, 0.22);
  --shadow-glass: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Atmosphere */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: url('../assets/hero.jpg') center center / cover no-repeat fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(6, 9, 7, 0.6) 0%, rgba(6, 9, 7, 0.88) 70%, rgba(6, 9, 7, 0.98) 100%);
  backdrop-filter: blur(2px);
  z-index: 1;
}

/* Ambient Floating Glows */
.ambient-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(120px);
  opacity: 0.35;
  animation: floatOrb 16s ease-in-out infinite alternate;
}

.glow-top-right {
  top: -100px;
  right: -50px;
  background: radial-gradient(circle, var(--gold-400), transparent 70%);
}

.glow-bottom-left {
  bottom: -150px;
  left: -100px;
  background: radial-gradient(circle, #0d5f3d, transparent 70%);
  animation-duration: 22s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.1); }
  100% { transform: translate(-30px, 50px) scale(0.95); }
}

/* Layout Content */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Header & Brand */
.site-header {
  padding: 32px 0 20px;
  position: relative;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #141f17;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 0 20px var(--gold-glow);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.brand-text h1 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-300);
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.brand-text p {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
}

.header-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-emerald);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--emerald-400);
  backdrop-filter: blur(8px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--emerald-400);
  box-shadow: 0 0 8px var(--emerald-400);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Hero Section */
.hero-content {
  padding: 60px 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-pill-announcement {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-glass);
  border-radius: 9999px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--gold-400);
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-pill-announcement span.icon {
  font-size: 16px;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 400;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-tagline em {
  font-style: italic;
  font-family: var(--font-serif);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding: 0 4px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.7;
}

/* Glass Subscription Card */
.subscribe-card {
  width: 100%;
  max-width: 580px;
  background: var(--bg-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-glass), var(--shadow-gold);
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.subscribe-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
}

.card-heading {
  margin-bottom: 24px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title .icon-leaf {
  color: var(--gold-400);
}

.card-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-300);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--gold-400);
  font-size: 16px;
  pointer-events: none;
  opacity: 0.8;
}

.form-input, .form-select {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: var(--bg-input);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: all 0.25s ease;
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23d4af37' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
  padding-right: 40px;
}

.form-select option {
  background: #0f1913;
  color: #ffffff;
  padding: 10px;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus, .form-select:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  background: rgba(13, 21, 16, 0.95);
}

/* Destination Quick Select Pills */
.destinations-quick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.dest-pill {
  font-size: 11.5px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.dest-pill:hover, .dest-pill.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-400);
  color: var(--gold-300);
}

/* Cloudflare Turnstile Box */
.turnstile-wrapper {
  margin: 22px 0;
  padding: 14px;
  background: rgba(7, 12, 9, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 80px;
  justify-content: center;
  transition: border-color 0.2s ease;
}

.turnstile-header-note {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.turnstile-header-note svg {
  fill: #f38020;
}

/* Buttons */
.btn-primary {
  width: 100%;
  padding: 16px 24px;
  background: var(--gold-gradient);
  border: none;
  border-radius: var(--radius-md);
  color: #121d16;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
  transition: all 0.25s ease;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45);
  filter: brightness(1.05);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(0.5);
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(18, 29, 22, 0.3);
  border-top-color: #121d16;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success Card View */
.success-card {
  text-align: center;
  padding: 30px 10px;
}

.success-icon-wrap {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--emerald-400);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-400);
  font-size: 32px;
  box-shadow: 0 0 30px var(--emerald-glow);
  animation: scaleUp 0.4s ease;
}

@keyframes scaleUp {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  font-family: var(--font-serif);
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 12px;
}

.success-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.success-details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  text-align: left;
}

.success-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.success-detail-row:last-child {
  border-bottom: none;
}

.success-detail-label {
  color: var(--text-muted);
}

.success-detail-val {
  color: var(--gold-300);
  font-weight: 600;
}

.btn-secondary {
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: var(--gold-400);
}

/* Value Highlights / Features */
.features-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 900px;
  margin-top: 50px;
}

.feature-item {
  background: rgba(14, 22, 17, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.3);
}

.feature-icon {
  font-size: 26px;
  margin-bottom: 10px;
  display: inline-block;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--gold-300);
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  padding: 30px 0 35px;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.footer-admin-link:hover {
  color: var(--gold-300);
  border-color: var(--border-glass);
  background: rgba(212, 175, 55, 0.08);
}

/* =========================================================
   ADMIN DASHBOARD SPECIFIC STYLES
   ========================================================= */

.admin-body {
  background: #070b09;
  background-image: radial-gradient(circle at 10% 20%, rgba(16, 26, 20, 0.8) 0%, #070b09 70%);
}

.admin-header {
  background: rgba(11, 18, 14, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
}

.admin-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-nav-user {
  display: flex;
  align-items: center;
  gap: 18px;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #121d16;
  font-weight: 700;
  font-size: 13px;
}

.btn-logout {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-logout:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: #ef4444;
}

/* Admin Login Card */
.admin-login-wrapper {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-glass), var(--shadow-gold);
  position: relative;
}

.login-header {
  text-align: center;
  margin-bottom: 28px;
}

.login-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-size: 24px;
}

.login-header h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 6px;
}

.login-header p {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.hint-pill {
  margin-top: 20px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}

.hint-pill code {
  color: var(--gold-300);
  background: rgba(0,0,0,0.4);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* Admin Dashboard Content */
.dashboard-container {
  padding: 40px 0 80px;
}

/* Stat Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-secondary);
  font-weight: 600;
}

.stat-icon {
  font-size: 20px;
  color: var(--gold-400);
  background: rgba(212, 175, 55, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-subtext {
  font-size: 12px;
  color: var(--text-muted);
}

/* Tabs Navigation */
.tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 12px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: #ffffff;
}

.tab-btn.active {
  color: var(--gold-300);
  border-bottom-color: var(--gold-400);
}

.tab-badge {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-300);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 9999px;
}

/* Tab Panels */
.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-panel.active {
  display: block;
}

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

/* Card Surface for Dashboard Sections */
.admin-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-glass);
  margin-bottom: 30px;
}

.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-card-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 3px;
}

/* Subscribers Table Controls */
.table-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  min-width: 260px;
}

.search-input-wrap .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
}

.search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 13.5px;
  outline: none;
}

.search-input:focus {
  border-color: var(--gold-400);
}

.btn-export {
  padding: 10px 18px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--border-emerald);
  color: var(--emerald-400);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-export:hover {
  background: rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 15px var(--emerald-glow);
}

/* Data Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--gold-300);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.data-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13.5px;
  color: var(--text-main);
  vertical-align: middle;
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.table-email {
  font-weight: 600;
  color: #ffffff;
}

.table-dest-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--gold-300);
  font-size: 12px;
}

.table-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-400);
  font-size: 11.5px;
  font-weight: 500;
}

.table-action-btn {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
}

.table-action-btn:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: #ef4444;
}

.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.5;
}

/* Config Grid */
.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.full-width {
  grid-column: 1 / -1;
}

/* Switch Toggle */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(9, 15, 12, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.toggle-info h4 {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 3px;
}

.toggle-info p {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background: var(--gold-gradient);
}

input:checked + .slider:before {
  transform: translateX(22px);
  background-color: #121d16;
}

/* Info Alert Callout */
.callout-box {
  background: rgba(212, 175, 55, 0.06);
  border-left: 3px solid var(--gold-400);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.callout-box strong {
  color: var(--gold-300);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 20px;
  background: #0f1913;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 13.5px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 420px;
  animation: slideInToast 0.3s ease;
}

.toast.toast-success {
  border-color: var(--emerald-400);
}

.toast.toast-error {
  border-color: #ef4444;
}

@keyframes slideInToast {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .subscribe-card {
    padding: 28px 20px;
  }
  .brand-text h1 {
    font-size: 20px;
  }
  .admin-header-inner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
