/* Shared Golf Mentality registration presentation; workflow stays in register.html. */
@font-face{font-family:Cinzel;src:url('../assets/cinzel-600.ttf') format('truetype');font-weight:600;font-display:swap}
:root{color-scheme:dark;--reg-cream:#eee3c8;--reg-gold:#dfc58e;--reg-muted:#adbcaf;--reg-line:#77674980}
body{background:radial-gradient(ellipse at 15% 10%,#244d38,transparent 48%),radial-gradient(ellipse at 92% 85%,#153c2c,transparent 48%),linear-gradient(155deg,#102c20,#071a12 55%,#030c08);background-attachment:fixed;color:var(--reg-cream);padding:36px 18px;line-height:1.5}
.container{padding:0;max-width:640px;border:1px solid #887550;border-radius:32px;background:linear-gradient(160deg,#173829,#0b2419 55%,#06170f);box-shadow:0 22px 70px #020a0666;overflow:visible}
.reg-header{position:relative;background:none;padding:34px 28px 22px;border-radius:32px 32px 0 0;color:var(--reg-cream)}
.reg-brand-mark{display:block;width:68px;height:68px;object-fit:contain;margin:0 auto 20px}
.reg-header h1{font-family:Cinzel,Georgia,serif;font-size:25px;font-weight:600;line-height:1.35;letter-spacing:.5px;margin-bottom:10px}
.reg-header p{color:var(--reg-muted);font-size:14px;opacity:1;max-width:380px;margin:auto}
.reg-body{background:none;box-shadow:none;padding:8px 28px 28px;border-radius:0 0 32px 32px}
.steps{gap:6px;border-bottom:0;padding:0;margin:6px 0 26px}
.step{border:0;border-bottom:2px solid #39503e;border-radius:6px 6px 0 0;color:#adbcaf;background:#07191080;font-size:12px!important;padding:11px 3px!important;margin:0;white-space:normal;overflow:visible;line-height:1.4!important}
.step.active{background:#dfc58e14;color:#f0ddb0;border-bottom-color:#dfc58e}.step.completed{color:#bad7b5;border-bottom-color:#80ac80}
.form-section{padding:22px;background:linear-gradient(145deg,#132f22,#0a2116);border:1px solid var(--reg-line);border-radius:18px}
.form-group{margin-bottom:19px}.form-group label{color:var(--reg-cream);font-size:13px;font-weight:500;margin-bottom:8px}
.form-group input,.form-group select,.form-group textarea{background:#071910;color:#f2eddf;border:1px solid #9b825d66;border-radius:11px;min-height:46px;font-size:16px;box-shadow:none}
.form-group input::placeholder,.form-group textarea::placeholder{color:#99ac9e;opacity:1}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--reg-gold);box-shadow:0 0 0 3px #dfc58e18}
.form-group small{color:var(--reg-muted);font-size:12px;line-height:1.5;margin-top:7px}.form-group label .required{color:#e4ba83}
.mobile-input input{min-width:0}.mobile-input select{width:105px}
.btn{border-radius:12px;min-height:48px;line-height:1.4;padding:12px 18px;text-align:center;text-decoration:none;white-space:normal}
.btn-primary,.not-found-actions .btn-primary{color:#211b10;border:1px solid #ead39b;background:linear-gradient(115deg,#b99a59,#dfc68f 24%,#f0ddb0 48%,#d7bb7e 75%,#b79a5d);box-shadow:inset 0 1px 0 #fff4d6bf,0 4px 14px #010d0540}
.btn-primary:hover,.not-found-actions .btn-primary:hover{background:linear-gradient(115deg,#c5a76a,#f6e5bd 48%,#c4a66c);border-color:#ead39b}
.btn-primary:disabled{opacity:.55;color:#211b10;cursor:wait}
.btn-secondary,.not-found-actions .btn-secondary{color:var(--reg-gold);background:#112c1e;border:1px solid #887550}
.btn-secondary:hover,.not-found-actions .btn-secondary:hover{background:#234631;border-color:var(--reg-gold)}
.btn-group{margin-top:25px}.btn:focus-visible,a:focus-visible,button:focus-visible{outline:2px solid #f0d9a5;outline-offset:4px}
a{color:var(--reg-gold)}
.verification-pending,.success-state{padding:12px 0}.verification-pending h2,.success-state h2,.tgf-modal-header h3{color:var(--reg-cream);font-family:Cinzel,Georgia,serif;font-weight:600;font-size:24px;line-height:1.4}
.verification-pending p,.success-state p,.tgf-modal-header p,.tgf-player-details,.not-found-label,.not-found-nationality{color:var(--reg-muted)}
.verification-pending .email-display,.success-state .highlight{background:#1b3927;color:var(--reg-cream);border:1px solid var(--reg-line);max-width:100%;overflow-wrap:anywhere}
.success-state .highlight p{color:var(--reg-cream)}
.verification-pending .warning-text,.not-found-name{background:#342d19;color:#eed7a5;border:1px solid #87703e;line-height:1.65}
.verified-badge{background:#1f432c;color:#c8e6ba;border:1px solid #57794d}
.modal-body pre{color:#d2dfd2}
input[type=checkbox]{accent-color:#d9bd7c}

.registration-privacy {
  margin: 0 0 1.25rem;
  padding: .9rem 1rem .5rem;
  background: #0c2117;
  border: 1px solid var(--reg-line);
  border-radius: 12px;
  font-size: .875rem;
  line-height: 1.5;
}
#step4 .registration-privacy { margin-top: 1.25rem; }
.registration-privacy a {
  display: inline-block;
  color: var(--reg-gold);
  font-weight: 650;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}
.registration-privacy p {
  margin: .4rem 0 .8rem;
  color: var(--reg-muted);
}
.registration-privacy label {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  min-height: 44px;
  padding: .7rem 0 .3rem;
  border-top: 1px solid var(--reg-line);
  color: var(--reg-cream);
  cursor: pointer;
}
.registration-privacy input {
  width: 1.125rem;
  height: 1.125rem;
  flex: 0 0 auto;
  margin: .1rem 0 0;
}
.registration-privacy input:focus-visible {
  outline: 2px solid var(--reg-gold);
  outline-offset: 3px;
}
.modal,.tgf-modal{background:#010805ba;backdrop-filter:blur(5px)}
.modal-content,.tgf-modal-content{background:#10291c;color:var(--reg-cream);border:1px solid #887550;border-radius:20px}
.modal-header,.modal-footer{border-color:var(--reg-line)}.modal-close{color:var(--reg-gold);min-width:44px;min-height:44px}
.tgf-player-option{border:1px solid #55704f;background:#0a2116}.tgf-player-option:hover,.tgf-player-option.selected{border-color:var(--reg-gold);background:#26452d}.tgf-player-name,.not-found-select{color:var(--reg-cream)}
.not-found-message{background:#34231c;color:#f4ceba}.not-found-note{background:#0a2116;color:var(--reg-muted)}
.loading-overlay{background:#071a12ed;color:var(--reg-cream)}.spinner-dark{border-color:#dfc58e44;border-top-color:var(--reg-gold)}
.alert-error{background:#3a211b;color:#ffd9c5;border-color:#ad7259}.alert-warning{background:#342d19;color:#eed7a5;border-color:#87703e}.alert-success{background:#1f432c;color:#c8e6ba;border-color:#57794d}.alert-info{background:#19382b;color:#d5e5d5;border-color:#5a8064}
/* Existing inline helper colors are retained in markup for compatibility. */
.reg-body [style*="color:#64748b"],.reg-body [style*="color: #64748b"],.reg-body [style*="color:#94a3b8"]{color:var(--reg-muted)!important}
#langSelectorContainer{top:14px!important;right:14px!important}
@media(max-width:480px){body{padding:12px 10px}.container{border-radius:26px}.reg-header{padding:52px 18px 18px}.reg-brand-mark{width:60px;height:60px;margin-bottom:16px}.reg-header h1{font-size:23px}.reg-body{padding:6px 16px 20px}.form-section{padding:18px 16px}.step{font-size:11px!important}.steps{gap:4px;margin-bottom:20px}.form-row{gap:0}.btn-group{flex-wrap:wrap}.btn-group .btn{flex:1 1 100%}.verification-pending h2,.success-state h2{font-size:22px}.tgf-modal-content{padding:22px}.tgf-modal-actions{flex-wrap:wrap}.tgf-modal-actions .btn{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.form-section.active{animation:none}*{scroll-behavior:auto!important}}

/* Every translated step title is a number followed by a single-word label.
   Wrap that separator consistently without changing translation strings. */
.steps .step{word-spacing:100vw;text-align:center}
