@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap');

:root {
  --surface:    #e6f4eb;
  --card:       #ffffff;
  --border:     #94cba8;

  --green:      #16a34a;
  --green-lt:   #22c55e;
  --green-dk:   #15803d;

  --text:       #0d1f14;
  --text-dim:   #374940;
  --text-muted: #7b9283;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', Arial, sans-serif; }

body {
  font-family: Google Sans,'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(150deg, #6aaa85 0%, #8dc4a8 35%, #b0d8c0 65%, #d4eedd 100%);
  background-attachment: fixed;
  color: var(--text); min-height: 100vh;
  display: flex; flex-direction: column; align-items: center;
  padding: 40px 20px; height: auto; background-repeat: no-repeat;
}

body::-webkit-scrollbar { width: 0; }

.back-link {
  text-align: center; margin-bottom: 16px; font-size: 13px;
}

.back-link a {
  color: var(--green-dk); text-decoration: none; font-weight: 600;
  transition: opacity .2s;
}

.back-link a:hover { opacity: .8; text-decoration: underline; }

h1 { font-size: 26px; font-weight: 700; color: var(--text); text-align: center; margin-bottom: 8px; letter-spacing: -.02em; }

.join-text { color: var(--text-dim); text-align: center; max-width: 600px; font-size: 15px; line-height: 1.7; margin: 0 auto 28px; }

.container {
  width: min(90%, 800px); display: flex; flex-direction: row;
  border-radius: 20px; background: var(--card); border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,.08); overflow: hidden;
  margin: 0 auto 20px; justify-content: center; padding: 0;
}

.container-one, .container-two {
  flex: 1; display: flex; flex-direction: column;
  border-radius: 0; width: 50%; padding: 24px;
}

.container-one {
  border-right: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(22,101,52,.04), transparent);
}

.product-card {
  padding: 16px; display: flex; justify-content: space-between; align-items: flex-start;
  background: rgba(22,101,52,.04); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px;
}

.payment-option {
  border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 10px; padding: 12px 14px; cursor: pointer;
  overflow: hidden; background: var(--surface);
  transition: border-color .2s, background .2s, box-shadow .2s; width: 100%;
}

.payment-option:hover {
  border-color: var(--green-lt); background: rgba(22,101,52,.04);
  box-shadow: 0 4px 12px rgba(0,0,0,.07);
}

.left { display: flex; align-items: center; gap: 12px; }

img { height: 32px; border-radius: 8px; }

.comp-name { font-size: 14px; font-weight: 600; color: var(--text); }
.country   { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.dropdown {
  margin-top: 10px; padding: 14px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border); display: none;
}

.detail-box {
  display: flex; margin-bottom: 10px;
  border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; background: var(--card); gap: 0;
}

.detail-box input {
  flex: 1; padding: 10px 13px; border: none;
  background: transparent; color: var(--text);
  font-family: 'DM Mono', monospace; font-size: 13px;
  outline: none; margin-bottom: 0;
}

.detail-box button {
  padding: 10px 14px; background: var(--green); color: #ffffff;
  border: none; cursor: pointer; font-weight: 600; font-size: 13px;
  border-radius: 0; width: auto; box-shadow: none;
  transition: background .2s; font-family: 'Inter', system-ui, sans-serif;
}

.detail-box button:hover { background: var(--green-dk); transform: none; box-shadow: none; }

.copy-btn { border-radius: 0 8px 8px 0; }

.email-btn {
  width: 100%; padding: 12px;
  background: rgba(0,0,0,.05); color: var(--text-muted);
  border: 1px solid var(--border); cursor: not-allowed;
  border-radius: 10px; font-size: 14px; font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  transition: all .25s; box-shadow: none;
}

.email-btn.active {
  background: var(--green); color: #ffffff; cursor: pointer;
  border-color: transparent; box-shadow: 0 4px 12px rgba(22,101,52,.22);
}

.email-btn.active:hover { background: var(--green-dk); transform: translateY(-1px); }
.email-btn.active:active { transform: none; }

.selar-btn {
  border: 1px solid rgba(109,40,217,.22); border-radius: 10px;
  background: rgba(109,40,217,.06); color: #6d28d9;
  padding: 12px; text-align: center; width: 100%; cursor: pointer;
  font-size: 14px; font-weight: 600; font-family: 'Inter', system-ui, sans-serif;
  transition: all .25s; box-shadow: none;
}

.selar-btn:hover { background: rgba(109,40,217,.12); transform: translateY(-1px); }
.selar-btn:active { transform: none; }

.alert-box {
  display: none; position: fixed; inset: 0;
  background: rgba(13,31,20,.45); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  justify-content: center; align-items: center; z-index: 9999;
}

.alert-content {
  padding: 40px 36px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: 0 16px 56px rgba(0,0,0,.13);
  color: var(--text); text-align: center; width: min(90vw, 480px);
}

.alert-content h1, .alert-content h2 { color: var(--text); margin-bottom: 10px; }
.alert-content h2 { font-size: 20px; font-weight: 600; }
.alert-content p { font-size: 14px; color: var(--text-dim); margin-bottom: 20px; line-height: 1.65; }

.alert-content button {
  padding: 12px 24px; background: var(--green); color: #ffffff;
  border-radius: 10px; border: none; cursor: pointer; font-weight: 700;
  font-size: 14px; width: auto; font-family: 'Inter', system-ui, sans-serif;
  transition: all .25s; box-shadow: 0 4px 12px rgba(22,101,52,.22);
}

.alert-content button:hover { background: var(--green-dk); transform: translateY(-1px); }

.footer { text-align: center; margin-top: 20px; color: var(--text-muted); font-size: 13px; width: 100%; padding: 12px 20px; }

@media (max-width: 768px) {
  body { padding: 16px; height: auto; }
  .container { flex-direction: column; width: 96%; border-radius: 16px; }
  .container-one, .container-two { width: 100%; margin: auto; }
  .container-one { border-right: none; border-bottom: 1px solid var(--border); }
}
