/* GDN Affiliate — Public Registration Form — Light Theme */
.gdn-reg-wrap { max-width: 680px; margin: 0 auto; padding: 20px; font-family: 'Helvetica Neue', Arial, sans-serif; }
.gdn-reg-card { background: #fff; border: 1px solid #E8E0D0; border-top: 3px solid #B8860B; border-radius: 6px; padding: 36px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.gdn-reg-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.gdn-reg-mark { width: 40px; height: 40px; border: 2px solid #B8860B; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #B8860B; font-weight: 700; flex-shrink: 0; }
.gdn-reg-brand { font-size: 18px; color: #8B6508; letter-spacing: 4px; font-weight: 600; }
.gdn-reg-sub { font-size: 9px; color: #9A8A6A; letter-spacing: 2px; margin-top: 3px; }

/* Tier cards */
.gdn-reg-tiers { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.gdn-reg-tier { flex: 1; min-width: 100px; background: #FDF6E3; border: 1px solid #E8E0D0; border-radius: 4px; padding: 12px; text-align: center; }
.gdn-reg-tier-label { font-size: 9px; color: #9A8A6A; letter-spacing: 1px; margin-bottom: 6px; font-weight: 600; text-transform: uppercase; }
.gdn-reg-tier-rate { font-size: 26px; color: #B8860B; font-weight: 300; }
.gdn-reg-tier-range { font-size: 9px; color: #9A8A6A; margin-top: 4px; }

/* Form */
.gdn-reg-row { display: flex; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.gdn-reg-field { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 5px; }
.gdn-reg-field label { font-size: 9px; color: #9A8A6A; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
.gdn-reg-field input { background: #FAFAFA; border: 1px solid #E8E0D0; color: #2C2416; padding: 9px 12px; border-radius: 3px; font-size: 13px; outline: none; transition: border-color .15s; }
.gdn-reg-field input:focus { border-color: #B8860B; background: #fff; }

.gdn-reg-btn { width: 100%; padding: 13px; background: #B8860B; border: none; color: #fff; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; cursor: pointer; border-radius: 3px; margin-top: 8px; transition: background .15s; }
.gdn-reg-btn:hover { background: #8B6508; }
.gdn-reg-note { font-size: 11px; color: #9A8A6A; text-align: center; margin-top: 12px; line-height: 1.7; }
.gdn-reg-msg { padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; font-size: 12px; }
.gdn-reg-msg.success { background: #E8F5E9; border: 1px solid #A5D6A7; color: #2E7D32; }
.gdn-reg-msg.error   { background: #FFEBEE; border: 1px solid #EF9A9A; color: #C62828; }

/* Limitations notice */
.gdn-reg-limits { background: #FDF6E3; border: 1px solid #E8E0D0; border-left: 3px solid #B8860B; border-radius: 4px; padding: 18px 20px; margin-bottom: 24px; }
.gdn-reg-limits-title { font-size: 11px; color: #8B6508; font-weight: 700; letter-spacing: 1px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.gdn-reg-limits-icon { font-size: 15px; }
.gdn-reg-limits-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.gdn-reg-limits-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: #5C4A2A; line-height: 1.6; padding-bottom: 10px; border-bottom: 1px solid #EEE5CC; }
.gdn-reg-limits-list li:last-child { border-bottom: none; padding-bottom: 0; }
.gdn-reg-limits-list strong { color: #2C2416; }
.gdn-lim-icon { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.gdn-lim-ok   { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }
.gdn-lim-warn { background: #FFF8E1; color: #E65100; border: 1px solid #FFE082; }
.gdn-lim-no   { background: #FFEBEE; color: #C62828; border: 1px solid #EF9A9A; }

/* ── Force override Flatsome dark theme cho registration form ── */
.gdn-reg-wrap,
.gdn-reg-wrap * { box-sizing: border-box; }
.gdn-reg-wrap .gdn-reg-card {
  background: #FFFFFF !important;
  color: #2C2416 !important;
}
.gdn-reg-wrap .gdn-reg-brand { color: #8B6508 !important; }
.gdn-reg-wrap .gdn-reg-sub   { color: #9A8A6A !important; }
.gdn-reg-wrap .gdn-reg-mark  { background: #FDF6E3 !important; color: #B8860B !important; border-color: #B8860B !important; }
.gdn-reg-wrap .gdn-reg-tier  { background: #FDF6E3 !important; color: #2C2416 !important; border-color: #E8E0D0 !important; }
.gdn-reg-wrap .gdn-reg-tier-label { color: #9A8A6A !important; }
.gdn-reg-wrap .gdn-reg-tier-rate  { color: #B8860B !important; }
.gdn-reg-wrap .gdn-reg-tier-range { color: #9A8A6A !important; }
.gdn-reg-wrap .gdn-reg-field label { color: #9A8A6A !important; }
.gdn-reg-wrap .gdn-reg-field input {
  background: #FAFAFA !important;
  color: #2C2416 !important;
  border-color: #E8E0D0 !important;
}
.gdn-reg-wrap .gdn-reg-field input:focus {
  background: #FFFFFF !important;
  border-color: #B8860B !important;
}
.gdn-reg-wrap .gdn-reg-note { color: #9A8A6A !important; }
.gdn-reg-wrap .gdn-reg-limits {
  background: #FDF6E3 !important;
  border-color: #E8E0D0 !important;
  border-left-color: #B8860B !important;
}
.gdn-reg-wrap .gdn-reg-limits-title { color: #8B6508 !important; }
.gdn-reg-wrap .gdn-reg-limits-list li { color: #5C4A2A !important; border-bottom-color: #EEE5CC !important; }
.gdn-reg-wrap .gdn-reg-limits-list strong { color: #2C2416 !important; }
.gdn-reg-wrap .gdn-lim-ok   { background: #E8F5E9 !important; color: #2E7D32 !important; }
.gdn-reg-wrap .gdn-lim-warn { background: #FFF8E1 !important; color: #E65100 !important; }
.gdn-reg-wrap .gdn-lim-no   { background: #FFEBEE !important; color: #C62828 !important; }
