/* Pantallas públicas de seguridad El Renuevo: sin dependencia de Tailwind compilado */
:root { color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
body.rn-auth { margin:0; min-height:100vh; min-height:100dvh; color:#202b3c; font-family: Inter, ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif; background: radial-gradient(circle at -5% 100%,rgba(247,198,158,.28),transparent 25%), radial-gradient(circle at 103% -5%,rgba(247,198,158,.28),transparent 24%),#fcfbf9; }
.rn-auth::before,.rn-auth::after { content:"";position:fixed;z-index:0;border:1px solid rgba(217,126,57,.20);border-radius:50%;pointer-events:none; }
.rn-auth::before {width:550px;height:550px;left:-290px;bottom:-360px;box-shadow:0 0 0 52px rgba(249,220,193,.14),0 0 0 160px rgba(249,220,193,.09);}
.rn-auth::after {width:510px;height:510px;right:-300px;top:-310px;box-shadow:0 0 0 92px rgba(249,220,193,.10);}
.rn-main { position:relative;z-index:1;min-height:100vh;min-height:100dvh;display:flex;justify-content:center;align-items:center;padding:42px 18px; }
.rn-card { width:min(100%,610px);background:#fff;border:1px solid #f2d6bd;border-radius:23px;padding:32px 30px 26px;box-shadow:0 16px 40px rgba(77,53,34,.10);}
.rn-card--wide {width:min(100%,650px);}
.rn-brand { width:84px;height:84px;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;border-radius:50%; }
.rn-brand img { display:block;max-width:100%;max-height:100%;object-fit:contain; }
.rn-title {margin:0 0 12px;color:#202b3c;text-align:center;font-weight:800;line-height:1.2;letter-spacing:-.035em;font-size:clamp(24px,3vw,30px);}
.rn-subtitle { margin:0 auto 24px;max-width:510px;color:#515c6b;text-align:center;font-size:15px;line-height:1.62; }
.rn-em {color:#ba5722;font-weight:800;}
.rn-steps {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;position:relative;margin:18px 0 29px;}
.rn-step {position:relative;text-align:center;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;}
.rn-step:not(:last-child)::after {content:"";position:absolute;top:18px;left:calc(50% + 26px);width:calc(100% - 42px);height:2px;background:#e4e6e9;}
.rn-num {position:relative;z-index:1;border-radius:50%;width:36px;height:36px;background:#edf0f2;color:#596273;display:grid;place-items:center;font-weight:800;}
.rn-step.is-active .rn-num {background:#d66a24;color:white;box-shadow:0 5px 14px rgba(210,105,37,.22);}
.rn-step.is-done .rn-num {background:#ffe8d8;color:#a64e1b;}
.rn-step-label {font-size:12.5px;line-height:1.32;color:#5d6876;max-width:120px;}
.rn-step.is-active .rn-step-label {color:#202b3c;font-weight:750;}
.rn-field {margin-bottom:18px;}
.rn-label {display:block;margin:0 0 8px;font-size:14px;font-weight:700;color:#283443;}
.rn-input {width:100%;min-height:53px;padding:13px 15px;border:1.5px solid #d6dbe0;border-radius:12px;background:white;color:#202b3c;font:inherit;font-size:15px;outline:0;transition:border .15s,box-shadow .15s;}
.rn-input::placeholder {color:#8893a0;}
.rn-input:focus {border-color:#c96725;box-shadow:0 0 0 3px rgba(205,108,42,.13);}
.rn-hint {color:#6c7684;font-size:12px;line-height:1.5;margin-top:7px;}
.rn-button {display:flex;width:100%;min-height:53px;align-items:center;justify-content:center;gap:10px;border-radius:12px;border:1.5px solid transparent;cursor:pointer;text-align:center;padding:13px 17px;font:inherit;font-weight:750;font-size:15px;line-height:1.35;text-decoration:none;transition:transform .15s,box-shadow .15s,background .15s;}
.rn-button:focus-visible,.rn-link:focus-visible {outline:3px solid #f2b174;outline-offset:3px;}
.rn-button:active {transform:scale(.99)}
.rn-button--primary {background:linear-gradient(100deg,#cd6020,#e17021);color:white!important;box-shadow:0 6px 15px rgba(194,91,30,.16);}
.rn-button--primary:hover {background:linear-gradient(100deg,#b64f17,#c85f1c);box-shadow:0 8px 18px rgba(194,91,30,.23);}
.rn-button--outline {background:#fff;color:#bc5721!important;border-color:#ce702e;}
.rn-button--outline:hover {background:#fff6ee;}
.rn-link-line {display:flex;align-items:center;justify-content:center;gap:15px;margin:22px 0;}
.rn-link-line::before,.rn-link-line::after {content:"";flex:1;height:1px;background:#e9ebee;}
.rn-link {color:#b4551f;font-weight:730;text-decoration:none;font-size:14px;}
.rn-link:hover {text-decoration:underline;}
.rn-note {background:#fff2e6;color:#6b5141;border-radius:13px;padding:15px 17px;display:flex;align-items:flex-start;gap:13px;font-size:13px;line-height:1.6;}
.rn-note-symbol {display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#ffe1c6;color:#b9571f;font-size:19px;}
.rn-note p {margin:0;}
.rn-flash {border-radius:11px;padding:12px 14px;margin-bottom:18px;font-size:14px;line-height:1.6;}
.rn-flash--ok {background:#e9f9ee;color:#175934;border:1px solid #b6e6c6;}
.rn-flash--error {background:#fff0ee;color:#9d2c23;border:1px solid #f0c1bc;}
.rn-flash ul {margin:0;padding-left:20px;}
.rn-reset-icon {display:grid;place-items:center;width:89px;height:89px;border-radius:50%;background:#fff0e5;color:#cf6521;font-size:46px;margin:3px auto 14px;}
.rn-button-stack {display:grid;gap:12px;margin:25px 0 0;}
.rn-safety {margin:22px -30px -26px;padding:19px 25px;text-align:center;border-radius:0 0 23px 23px;background:#faf8f6;border-top:1px solid #ece8e4;color:#6b7280;font-size:12px;line-height:1.6;}
.rn-footspace {margin-top:18px;}
.rn-eye-wrap {position:relative;}
.rn-eye-wrap .rn-input {padding-right:80px;}
.rn-eye {position:absolute;right:8px;top:7px;border:none;background:transparent;min-height:38px;min-width:57px;color:#aa4d16;cursor:pointer;font:inherit;font-size:13px;font-weight:750;}
.rn-eye:hover {text-decoration:underline;}
@media (max-width:580px) { .rn-main{padding:20px 12px;} .rn-card{padding:25px 18px 22px;border-radius:17px;} .rn-brand{height:70px;width:70px;} .rn-title{font-size:24px;} .rn-subtitle{font-size:13.5px;} .rn-step-label{font-size:11px;} .rn-steps{gap:4px;} .rn-step:not(:last-child)::after{left:calc(50% + 21px);width:calc(100% - 36px);} .rn-safety{margin:20px -18px -22px;border-radius:0 0 17px 17px;padding:17px 12px;} }

/* Confirmación tras solicitar un enlace: evita mostrar el formulario como si siguiera pendiente. */
.rn-sent-symbol { width:64px; height:64px; margin:0 auto 16px; border:2px solid #f8dfc9; border-radius:50%; display:grid; place-items:center; color:#c85f20; background:#fff3e8; font-size:32px; }
.rn-sent-panel { display:flex; gap:14px; align-items:flex-start; background:#ecf9ef; color:#225d35; border:1px solid #bfebca; padding:16px; border-radius:14px; margin:18px 0 24px; line-height:1.55; font-size:14px; }
.rn-sent-panel p { margin:4px 0 0; }
.rn-sent-check { width:28px; height:28px; flex:0 0 28px; border-radius:50%; background:#daf2e1; display:grid; place-items:center; color:#247743; font-weight:800; }
.rn-sent-steps { display:grid; gap:17px; margin:0 0 25px; }
.rn-sent-steps>div { display:flex; align-items:flex-start; gap:13px; color:#495666; font-size:14px; line-height:1.5; }
.rn-sent-number {display:grid;place-items:center;flex:0 0 30px;height:30px;background:#fff0e4;color:#bd5d20;border-radius:50%;font-size:13px;font-weight:800;}
.rn-sent-again { display:block; margin-top:-9px; text-align:center; color:#586473; font-size:13px; text-decoration:underline; text-underline-offset:3px; }
.rn-sent-again:hover { color:#a14b1f; }
.rn-sent-again:focus-visible {outline:3px solid #f2b174;outline-offset:3px;}
