/* Recuperar contraseña del socio (js/59-member-recover.js) */
.rcv-link {
  display: block; width: 100%; margin-top: 14px; padding: 8px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.55); text-align: center;
}
.rcv-link:active { color: var(--accent); }
.rcv .m-sheet.rcv-sheet { max-width: 460px; margin: 0 auto; padding-bottom: max(22px, env(safe-area-inset-bottom, 0px)) !important; }
.rcv-body { display: grid; gap: 10px; padding: 8px 2px 4px; text-align: center; }
.rcv-ic { width: 60px; height: 60px; margin: 4px auto 6px; border-radius: 20px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); }
.rcv-ic.is-ok { color: #06240f; background: #34c77b; border: 0; }
.rcv-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rcv-body h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--txt); }
.rcv-copy { margin: 0 auto; max-width: 360px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.rcv-copy b { color: var(--txt); font-family: ui-monospace, Menlo, monospace; }
.rcv .rcv-lbl { display: block !important; margin: 8px 0 -2px !important; text-align: left; font-size: 12px !important; font-weight: 700 !important; color: var(--muted) !important; }
.rcv .rcv-in { width: 100%; box-sizing: border-box; padding-left: 16px !important; text-align: left; font-size: 16px !important; }
.rcv-pw { position: relative; }
.rcv-pw .rcv-in { padding-right: 52px !important; }
.rcv-pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: rgba(255,255,255,.4); cursor: pointer; display: grid; place-items: center; }
.rcv-pw svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.rcv-msg { min-height: 0; font-size: 13px; line-height: 1.4; text-align: left; }
.rcv-msg:empty { display: none; }
.rcv-msg.is-err { color: #f8a1a1; }
.rcv .rcv-btn { width: 100%; margin-top: 6px; }
.rcv-foot { margin: 6px 0 0; font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.4); }
.rcv .rcv-sheet { padding:24px 22px max(24px,env(safe-area-inset-bottom)) !important; }
.rcv-body { gap:12px; }
.rcv-body h2 { font-size:clamp(24px,6vw,30px); line-height:1.16; margin:4px 0 2px; }
.rcv-copy { line-height:1.65; }
.rcv .rcv-lbl { margin:12px 0 0 !important; font-size:13px !important; }
.rcv .rcv-in { min-height:56px; border-radius:15px; padding:14px 16px !important; }
.rcv .rcv-pw .rcv-in { padding-right:52px !important; }
.rcv .rcv-btn { min-height:54px; border-radius:15px; font-size:15px; font-weight:800; }
.rcv-user { display:grid; gap:5px; padding:14px; border:1px solid var(--brd,#ffffff18); background:#ffffff04; border-radius:14px; margin:4px 0; }
.rcv-user small { font-size:11px; color:var(--muted); }
.rcv-user b { font-size:16px; color:var(--txt); overflow-wrap:anywhere; }
.rcv-kicker { color:var(--accent); letter-spacing:.12em; font-size:10px; font-weight:800; }
.rcv .rcv-copy { color:#b5b7c3; }
.rcv .rcv-foot { color:#a2a5b2; line-height:1.6; }
.rcv .rcv-lbl { color:#d0d2db !important; }
@media (max-width:360px) {
 .rcv .rcv-sheet { padding:18px 18px max(18px,env(safe-area-inset-bottom)) !important; }
 .rcv-ic { width:48px; height:48px; border-radius:16px; }
 .rcv-body { gap:10px; }
 .rcv-body h2 { font-size:24px; }
}
.rcv button.rcv-btn { border:0; background:var(--accent,#d4a843); color:var(--on-accent,#101114); cursor:pointer; font-family:inherit; padding:14px 18px; box-shadow:0 10px 26px color-mix(in srgb,var(--accent,#d4a843) 16%,transparent); }
.rcv button.rcv-btn:disabled { opacity:.6; cursor:default; }

.rcv .m-handle { width:40px; height:4px; margin:8px auto 16px !important; border-radius:4px; background:#ffffff30; }

/* Activation: one shared, branded composition for members, owners and staff. */
.rcv.rcv-activation .rcv-sheet {
  max-width:464px; padding:18px 24px max(24px,env(safe-area-inset-bottom)) !important;
  border:1px solid #ffffff17; border-bottom:0; border-radius:32px 32px 0 0;
  background:radial-gradient(90% 42% at 100% 0,color-mix(in srgb,var(--accent) 9%,transparent),transparent 80%),linear-gradient(165deg,#17191f,#101116 68%);
  box-shadow:0 -20px 75px #0008,inset 0 1px 0 #ffffff08;
}
.rcv-activation .rcv-body { gap:0; padding:0; text-align:left; }
.rcv-activation .m-handle { width:32px; height:4px; margin:0 auto 22px !important; background:#ffffff24; }
.act-hero { padding:0 0 20px; }
.act-brand-row { display:flex; align-items:center; gap:13px; min-width:0; }
.act-mark { position:relative; flex:0 0 56px; width:56px; height:56px; display:grid; place-items:center; overflow:hidden; border-radius:18px;
  color:var(--accent); background:#0e0f13; border:1px solid color-mix(in srgb,var(--accent) 28%,#ffffff10); box-shadow:0 6px 18px #0004,inset 0 1px 0 #ffffff0b; }
.act-mark > svg { width:25px; height:25px; grid-area:1/1; }
.act-mark img { position:absolute; inset:0; width:100%; height:100%; padding:5px; box-sizing:border-box; object-fit:contain; border-radius:inherit; background:#0e0f13; }
.act-mark::after { content:''; position:absolute; inset:-60% -100%; background:linear-gradient(115deg,transparent 42%,#ffffff13 50%,transparent 58%); pointer-events:none; transform:translateX(-55%); }
.act-brand { flex:1; display:grid; gap:5px; min-width:0; }
.act-brand b { color:#f0f1f5; font-size:14px; font-weight:750; line-height:1.4; overflow-wrap:anywhere; }
.act-brand > span { width:fit-content; max-width:100%; padding:4px 8px; border:1px solid color-mix(in srgb,var(--accent) 18%,transparent); border-radius:7px;
  background:color-mix(in srgb,var(--accent) 7%,transparent); color:var(--accent); font-size:9px; font-weight:800; letter-spacing:.09em; line-height:1.25; }
.act-verified { flex:0 0 26px; width:26px; height:26px; display:grid; place-items:center; border:1px solid #57cba32e; border-radius:50%; color:#69d6ac; background:#57cba30b; }
.act-verified svg { width:14px; height:14px; }
.act-eyebrow { margin:26px 0 9px; color:#989ba8; font-size:9px; font-weight:800; letter-spacing:.16em; line-height:1.4; }
.rcv-activation .act-hero h2 { margin:0; font-size:34px; font-weight:800; line-height:1.12; letter-spacing:-1.2px; color:#f4f4f6; overflow-wrap:anywhere; }
.act-hero h2 span { color:var(--accent); }
.act-intro { max-width:320px; margin:12px 0 0; color:#b1b4c1; font-size:13px; line-height:1.65; }
.act-account { display:flex; align-items:center; gap:12px; padding:14px 0; border-top:1px solid #ffffff0d; border-bottom:1px solid #ffffff0d; margin:0 0 22px; }
.act-account-icon { flex:0 0 18px; width:18px; color:#8c91a2; }
.act-account-icon svg,.act-account-check svg { display:block; width:100%; height:auto; }
.act-account > div { display:grid; gap:4px; min-width:0; flex:1; }
.act-account small { font-size:10px; line-height:1.4; color:#9a9eac; }
.act-account b { color:#e7e8ee; font-size:13px; font-weight:650; line-height:1.45; overflow-wrap:anywhere; }
.act-account-check { color:#69d6ac; width:14px; flex:0 0 14px; }
.act-form { display:grid; gap:8px; }
.rcv.rcv-activation .act-form .rcv-lbl { margin:0 !important; color:#c6c9d3 !important; font-size:12px !important; font-weight:650 !important; }
.rcv.rcv-activation .act-form .rcv-lbl:not(:first-child) { margin-top:10px !important; }
.rcv.rcv-activation .rcv-in {
  min-height:56px; height:56px; padding:14px 88px 14px 43px !important; color:#f2f2f5; font-size:16px;
  border:1px solid #ffffff12 !important; border-radius:14px; box-shadow:inset 0 1px 0 #ffffff05 !important;
  background-color:#1b1c23 !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238c91a2' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='5' y='10' width='14' height='11' rx='3'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"),linear-gradient(180deg,#ffffff02,transparent) !important;
  background-repeat:no-repeat !important; background-position:15px center,center !important; background-size:17px 17px,100% 100% !important;
  transition:border-color .18s,box-shadow .18s;
}
.rcv.rcv-activation .rcv-in::placeholder { color:#777d8e; opacity:1; font-weight:400; }
.rcv.rcv-activation .rcv-in:focus { outline:0; border-color:color-mix(in srgb,var(--accent) 55%,#ffffff12) !important; box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 9%,transparent) !important; }
.act-hint { margin:3px 0 0; color:#8f95a6; font-size:11px; line-height:1.65; }
.act-hint b { color:#bcc1ce; font-weight:650; }
.rcv-activation .rcv-msg.is-err { margin:7px 0 0; padding:12px 14px; border:1px solid #f48b8b25; background:#f48b8b08; border-radius:12px; color:#ffb6b6; font-size:12px; }
.act-actions { display:grid; gap:12px; padding:22px 0 18px; }
.rcv.rcv-activation .act-submit { display:flex; justify-content:center; align-items:center; gap:18px; min-height:56px; margin:0; border-radius:15px; letter-spacing:-.15px;
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 88%,#fff),var(--accent)); box-shadow:0 10px 28px color-mix(in srgb,var(--accent) 14%,transparent),inset 0 1px 0 #ffffff30; }
.act-submit::after { content:''; width:16px; height:16px; background:currentColor; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14m-5-5 5 5-5 5'/%3E%3C/svg%3E") center/contain no-repeat; }
.act-assurance { display:flex; justify-content:center; align-items:center; gap:7px; margin:0; font-size:10px; line-height:1.5; color:#9299a8; text-align:center; }
.act-assurance svg { flex:0 0 12px; width:12px; height:12px; color:#949ba9; }
.act-validity { display:flex; align-items:center; justify-content:center; gap:10px; padding:16px 0 0; border-top:1px solid #ffffff0c; }
.act-validity-icon { display:grid; place-items:center; width:28px; height:28px; flex:0 0 28px; color:#9ca2b1; background:#ffffff03; border:1px solid #ffffff09; border-radius:9px; }
.act-validity-icon svg { width:14px; height:14px; }
.act-validity > span:last-child { display:grid; gap:4px; }
.act-validity b { color:#aeb4c2; font-size:10px; line-height:1.4; font-weight:650; }
.act-validity small { color:#808898; font-size:9px; line-height:1.4; }
@media(min-width:640px) {
 .m.rcv-activation { align-items:center; padding:24px; }
 .rcv.rcv-activation .rcv-sheet { border-radius:30px; border-bottom:1px solid #ffffff17; max-height:calc(100dvh - 48px); padding:20px 28px 26px !important; }
}
@media(max-width:360px) {
 .rcv.rcv-activation .rcv-sheet { padding:16px 19px max(20px,env(safe-area-inset-bottom)) !important; }
 .rcv-activation .m-handle { margin-bottom:18px !important; }
 .act-mark { width:48px; height:48px; flex-basis:48px; border-radius:15px; }
 .act-eyebrow { margin-top:20px; }
 .rcv-activation .act-hero h2 { font-size:30px; }
 .act-intro { font-size:12px; }
 .act-hero { padding-bottom:16px; }
 .act-account { margin-bottom:18px; }
 .act-actions { padding-top:18px; }
}
@media(prefers-reduced-motion:no-preference) {
 .act-mark::after { animation:act-mark-sheen 1.2s .3s ease-out both; }
 @keyframes act-mark-sheen { to { transform:translateX(55%); } }
}

.rcv-activation .rcv-body > .rcv-ic { margin:6px 0 16px; }
.rcv-activation .rcv-body > .rcv-copy { margin:12px 0 20px; }

/* Cambiar contraseña (perfil del socio): mismo lenguaje que la activación */
.mpw-sheet { padding:10px 22px calc(22px + env(safe-area-inset-bottom)) !important; background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 5%,#15161c),#121318 42%) !important; border-top:1px solid #ffffff10; }
.mpw-sheet .m-handle { width:32px; height:4px; margin:0 auto 20px !important; background:#ffffff24; }
.mpw-head { display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.mpw-badge { flex:0 0 46px; width:46px; height:46px; display:grid; place-items:center; border-radius:14px; color:var(--accent); background:color-mix(in srgb,var(--accent) 10%,#1b1c23); border:1px solid color-mix(in srgb,var(--accent) 24%,transparent); }
.mpw-badge svg { width:21px; height:21px; }
.mpw-head h2 { margin:0; font-size:20px; font-weight:800; letter-spacing:-.3px; color:#f4f4f6; }
.mpw-head p { margin:3px 0 0; font-size:13px; line-height:1.45; color:#9097a7; }
.mpw-account { display:flex; align-items:center; gap:12px; padding:12px 14px; margin-bottom:6px; border-radius:14px; background:#ffffff05; border:1px solid #ffffff0c; }
.mpw-account[hidden] { display:none; }
.mpw-account svg { flex:0 0 18px; width:18px; height:18px; color:#8d93a3; }
.mpw-account small { display:block; font-size:11px; color:#8d93a3; }
.mpw-account b { display:block; font-size:15px; font-weight:700; color:#f2f2f5; letter-spacing:.2px; }
.mpw-lbl { display:block; margin:14px 0 7px; font-size:12px; font-weight:650; color:#c3c7d2; }
.mpw-field > svg { position:absolute; left:15px; top:50%; transform:translateY(-50%); width:17px; height:17px; color:#7d8394; pointer-events:none; z-index:1; }
.mpw-in { width:100%; box-sizing:border-box; height:54px; padding:0 52px 0 43px !important; border-radius:14px; border:1px solid #ffffff12; background:#1b1c23; color:#f2f2f5; font-size:16px; font-family:inherit; box-shadow:inset 0 1px 0 #ffffff05; }
.mpw-in::placeholder { color:#6f7586; }
.mpw-in:focus { outline:0; border-color:color-mix(in srgb,var(--accent) 55%,#ffffff12); box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 9%,transparent); }
.mpw-forgot { display:block; margin:9px 0 0 auto; padding:2px 0; border:0; background:none; font:inherit; font-size:12px; font-weight:600; color:color-mix(in srgb,var(--accent) 80%,#fff); cursor:pointer; }
.mpw-forgot[hidden] { display:none; }
.mpw-sep { height:1px; margin:16px 0 2px; background:#ffffff0c; }
.mpw-hint { margin:10px 0 0; font-size:11px; line-height:1.6; color:#8f95a6; }
.mpw-hint b { color:#bcc1ce; font-weight:650; }
.mpw-save { width:100%; min-height:54px; margin-top:18px; border:0; border-radius:15px; font:inherit; font-size:15px; font-weight:800; cursor:pointer; color:var(--on-accent,#080808); background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 88%,#fff),var(--accent)); box-shadow:0 10px 28px color-mix(in srgb,var(--accent) 14%,transparent),inset 0 1px 0 #ffffff30; }
.mpw-save:disabled { opacity:.6; }
.mpw-cancel { width:100%; margin-top:6px; padding:12px; border:0; background:none; font:inherit; font-size:14px; font-weight:600; color:#8f95a6; cursor:pointer; }
