/* results.css — application result page (HUB TOOL ONLINE 7.17) */
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font-family: Inter, system-ui, 'Segoe UI', sans-serif; color: #0f172a; background: #eef2f7; display: flex; flex-direction: column; }
.rs-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(160deg, #eef2ff, #f8fafc 50%, #ecfdf5); }
.rs-bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; animation: rsFloat 14s ease-in-out infinite; }
.rs-bg i:nth-child(1) { width: 340px; height: 340px; background: #93c5fd; top: -80px; left: -80px; }
.rs-bg i:nth-child(2) { width: 300px; height: 300px; background: #86efac; bottom: -60px; right: -60px; animation-delay: -5s; }
.rs-bg i:nth-child(3) { width: 220px; height: 220px; background: #fcd34d; top: 40%; left: 55%; animation-delay: -9s; }
@keyframes rsFloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 30px); } }
.rs-head { display: flex; align-items: center; gap: 14px; padding: 16px 22px; background: #0f172a; color: #fff; border-bottom: 3px solid #dc2626; }
.rs-logo { height: 42px; background: #fff; border-radius: 10px; padding: 5px 9px; }
.rs-head h1 { margin: 0; font-size: 1.25rem; }
.rs-head p { margin: 0; color: #cbd5e1; font-size: .85rem; }
.rs-main { flex: 1; width: min(520px, 100%); margin: 0 auto; padding: 28px 16px 20px; }
.rs-card { background: #fff; border-radius: 24px; padding: 28px 24px; box-shadow: 0 24px 50px -24px rgba(15,23,42,.35); text-align: center; animation: rsIn .45s cubic-bezier(.2,.9,.3,1.2); }
@keyframes rsIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.rs-ic { font-size: 2.6rem; }
.rs-card h2 { margin: 8px 0 6px; font-size: 1.5rem; }
.rs-card p { color: #475569; line-height: 1.55; margin: 6px 0; }
.rs-form label { display: block; text-align: left; margin-top: 14px; }
.rs-form label span { display: block; font-size: .8rem; font-weight: 800; text-transform: uppercase; color: #475569; margin-bottom: 6px; letter-spacing: .4px; }
.rs-form input { width: 100%; border: 1.5px solid #cbd5e1; border-radius: 14px; padding: 14px 16px; font: inherit; font-size: 1.1rem; }
.rs-form input:focus { outline: none; border-color: #1d4ed8; box-shadow: 0 0 0 4px rgba(29,78,216,.14); }
.rs-err { color: #b91c1c !important; font-weight: 700; }
.rs-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 18px; border: 0; border-radius: 14px; padding: 16px; font: inherit; font-weight: 800; font-size: 1.05rem; color: #fff; background: #1e3a8a; cursor: pointer; }
.rs-btn:disabled { opacity: .7; }
.rs-btn.ghost { background: transparent; color: #1e3a8a; border: 1.5px solid #c7d2fe; }
.rs-spin { width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: rsRot .8s linear infinite; }
@keyframes rsRot { to { transform: rotate(360deg); } }
.rs-who { font-size: .95rem; }
.rs-big { font-size: 1.12rem; color: #0f172a !important; }
.rs-tag { display: inline-block; font-weight: 900; letter-spacing: 1px; font-size: .8rem; padding: 6px 14px; border-radius: 999px; margin-top: 6px; }
.rs-res.pass { border-top: 6px solid #16a34a; } .rs-res.pass .rs-tag { background: #dcfce7; color: #166534; }
.rs-res.fail { border-top: 6px solid #94a3b8; } .rs-res.fail .rs-tag { background: #f1f5f9; color: #475569; }
.rs-res.wait { border-top: 6px solid #f59e0b; } .rs-res.wait .rs-tag { background: #fef3c7; color: #92400e; }
.rs-anim { position: relative; width: 130px; height: 130px; margin: 0 auto 6px; display: flex; align-items: center; justify-content: center; }
.rs-trophy { font-size: 4rem; animation: rsPop .7s cubic-bezier(.2,1.6,.4,1) both, rsBounce 2.4s ease-in-out .7s infinite; }
@keyframes rsPop { from { transform: scale(0) rotate(-20deg); } to { transform: scale(1); } }
@keyframes rsBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.rs-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.rs-ring circle { fill: none; stroke: #16a34a; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: rsDraw 1.1s ease-out .2s forwards; }
@keyframes rsDraw { to { stroke-dashoffset: 0; } }
.rs-wave { font-size: 4rem; transform-origin: 70% 70%; animation: rsWave 1.6s ease-in-out infinite; }
@keyframes rsWave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20%, 40% { transform: rotate(-10deg); } }
.rs-hour { font-size: 3.6rem; animation: rsFlip 2.4s ease-in-out infinite; }
@keyframes rsFlip { 0%, 40% { transform: rotate(0); } 50%, 90% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
.rs-orbit { position: absolute; inset: 0; animation: rsRot 3s linear infinite; }
.rs-orbit i { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #f59e0b; top: 0; left: 50%; margin-left: -6px; }
.rs-orbit i:nth-child(2) { top: auto; bottom: 8px; left: 12%; background: #1d4ed8; }
.rs-orbit i:nth-child(3) { top: auto; bottom: 8px; left: 88%; background: #16a34a; }
.rs-dots { display: flex; gap: 10px; }
.rs-dots i { width: 16px; height: 16px; border-radius: 50%; background: #f59e0b; animation: rsDot 1.2s ease-in-out infinite; }
.rs-dots i:nth-child(2) { animation-delay: .15s; } .rs-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes rsDot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-12px); opacity: 1; } }
.rs-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; }
.rs-foot { text-align: center; padding: 18px; }
.rs-foot a { color: #1e3a8a; font-weight: 700; }
/* 7.20 three-step status */
.rs-ic { color: #1e3a8a; display: flex; justify-content: center; }
.rs-steps { list-style: none; margin: 18px 0 14px; padding: 0; display: grid; gap: 0; text-align: left; position: relative; }
.rs-st { display: flex; gap: 14px; align-items: center; padding: 12px 6px; position: relative; opacity: 0; animation: rsIn .5s ease-out forwards; }
.rs-st:nth-child(2) { animation-delay: .25s; } .rs-st:nth-child(3) { animation-delay: .5s; }
.rs-st:not(:last-child)::after { content: ''; position: absolute; left: 27px; top: 54px; width: 3px; height: calc(100% - 42px); background: #e2e8f0; border-radius: 3px; }
.rs-st.done:not(:last-child)::after { background: #16a34a; }
.rs-st-ic { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f1f5f9; color: #94a3b8; border: 2px solid #e2e8f0; }
.rs-st.done .rs-st-ic { background: #16a34a; border-color: #16a34a; color: #fff; }
.rs-st.wait .rs-st-ic { background: #fff7ed; border-color: #f59e0b; color: #b45309; animation: rsPulse 1.6s ease-in-out infinite; }
.rs-st.closed .rs-st-ic { background: #fef2f2; border-color: #ef4444; color: #b91c1c; }
.rs-st b { display: block; font-size: 1.05rem; color: #0f172a; }
.rs-st small { color: #64748b; font-size: .88rem; }
.rs-st.wait small { color: #b45309; font-weight: 700; }
.rs-st.done small { color: #15803d; font-weight: 700; }
@keyframes rsPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,.45); } 50% { box-shadow: 0 0 0 9px rgba(245,158,11,0); } }
.rs-fail-ic { width: 92px; height: 92px; border-radius: 50%; background: #f1f5f9; color: #64748b; display: flex; align-items: center; justify-content: center; animation: rsPop .6s cubic-bezier(.2,1.6,.4,1) both; }
.rs-call { margin-bottom: 14px; padding: 16px; border-radius: 16px; background: #f59e0b; color: #111827; text-align: center; display: grid; gap: 6px; animation: rsCall 1s ease-in-out infinite; }
.rs-call b { font-size: 1.1rem; font-weight: 900; }
.rs-call em { font-style: normal; font-weight: 900; font-size: 1.3rem; background: #111827; color: #fbbf24; border-radius: 10px; padding: 4px 14px; justify-self: center; }
@keyframes rsCall { 0%, 100% { background: #f59e0b; } 50% { background: #fde68a; } }
/* 7.22.2 */
.rs-logo { background: transparent !important; padding: 0 !important; box-shadow: none !important; filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff); }
/* ===== 7.22.1 / 7.22.2 — 3 steps + application details ===== */
.rs-main { width: min(620px, 100%) !important; }
.rs-app { margin: 10px 0 4px; display: grid; text-align: left; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; }
.rs-app > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid #e2e8f0; }
.rs-app > div:first-child { border-top: 0; }
.rs-app dt { color: #64748b; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.rs-app dd { margin: 0; font-weight: 800; color: #0f172a; text-align: right; }
.rs-flow { list-style: none; margin: 18px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.rs-flow li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; padding: 0 4px; opacity: 0; animation: rsIn .5s ease-out forwards; }
.rs-flow li:nth-child(2) { animation-delay: .15s; } .rs-flow li:nth-child(3) { animation-delay: .3s; }
.rs-flow li:not(:last-child)::after { content: ''; position: absolute; top: 30px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 4px; border-radius: 4px; background: #e2e8f0; }
.rs-flow li.done:not(:last-child)::after { background: #16a34a; }
.rs-fi { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f1f5f9; color: #94a3b8; border: 3px solid #e2e8f0; }
.rs-flow li.done .rs-fi { background: #16a34a; border-color: #16a34a; color: #fff; }
.rs-flow li.now .rs-fi { background: #eff6ff; border-color: #1d4ed8; color: #1d4ed8; animation: rsPulseB 1.6s ease-in-out infinite; }
.rs-flow li.wait .rs-fi { background: #fff7ed; border-color: #f59e0b; color: #b45309; }
.rs-flow b { font-size: 1rem; color: #0f172a; }
.rs-flow small { font-size: .82rem; font-weight: 700; color: #94a3b8; line-height: 1.3; }
.rs-flow li.done small { color: #15803d; } .rs-flow li.now small { color: #1d4ed8; } .rs-flow li.wait small { color: #b45309; }
@keyframes rsPulseB { 0%, 100% { box-shadow: 0 0 0 0 rgba(29,78,216,.4); } 50% { box-shadow: 0 0 0 10px rgba(29,78,216,0); } }
.rs-note { font-size: .82rem; color: #94a3b8 !important; margin-top: 10px !important; }
.rs-call { display: grid; gap: 6px; } .rs-call em { font-style: normal; }
.rs-fail-ic { width: 84px; height: 84px; border-radius: 50%; background: #f1f5f9; color: #64748b; display: flex; align-items: center; justify-content: center; margin: 0 auto 6px; }

/* 7.23 — job offer: report to the agency */
.rs-report { margin: 10px 0 0 !important; padding: 12px 14px; border-radius: 8px; background: #0b2a5b; color: #fff !important; font-weight: 700; font-size: 1.05rem; text-align: center; border-bottom: 3px solid #c8102e; }

/* 7.25 — not recommended (red X) · on hold (yellow) · welcome to Enova */
.rs-res.fail .rs-fail-ic { background: #fdecef; color: #c8102e; }
.rs-res.fail { border-top-color: #c8102e; } .rs-res.fail .rs-tag { background: #fdecef; color: #a50d26; }
.rs-res.hold { border-top: 6px solid #eab308; } .rs-res.hold .rs-tag { background: #fef9c3; color: #854d0e; }
.rs-hold-ic, .rs-ok-ic { width: 92px; height: 92px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 6px; animation: rsPop .6s cubic-bezier(.2,1.4,.4,1) both; }
.rs-hold-ic { background: #fef9c3; color: #ca8a04; }
.rs-ok-ic { background: #dcfce7; color: #16a34a; }
.rs-flow li.hold .rs-fi { background: #fef9c3; border-color: #eab308; color: #a16207; } .rs-flow li.hold small { color: #a16207; }
.rs-flow li.stop .rs-fi { background: #fdecef; border-color: #c8102e; color: #c8102e; } .rs-flow li.stop small { color: #c8102e; }
.rs-report.red { background: #c8102e; border-bottom-color: #8a0b20; }
.rs-report.amber { background: #eab308; color: #1f2937 !important; border-bottom-color: #a16207; }

/* =====================================================================
   7.70 — results: clear, simple, Enova colours
   ===================================================================== */
.rs-head { background: linear-gradient(110deg, #0b1f4d 0%, #123a8c 60%, #1d4ed8 100%) !important; border-bottom: 4px solid #c8102e !important; }
.rs-main { width: min(560px, 100%) !important; }
.rs-card { border-radius: 20px !important; }
.rs-form { padding: 30px 26px 24px !important; }
.rs-form .rs-ic { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #eff6ff, #dbeafe); color: #1d4ed8; }
.rs-form h2 { font-size: 1.6rem !important; color: #0b1f4d; }
.rs-form label { display: grid; gap: 6px; text-align: left; margin-top: 16px; }
.rs-form label span { font-size: .78rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #475569; }
.rs-form input { width: 100%; box-sizing: border-box; padding: 16px 18px; font: inherit; font-size: 1.35rem; font-weight: 800; letter-spacing: 2px; text-align: center; border: 2px solid #cbd5e1; border-radius: 14px; color: #0b1f4d; background: #f8fafc; transition: border-color .15s, box-shadow .15s, background .15s; }
.rs-form input::placeholder { letter-spacing: 1px; font-weight: 600; color: #94a3b8; }
.rs-form input:focus { outline: none; border-color: #1d4ed8; background: #fff; box-shadow: 0 0 0 5px rgba(29,78,216,.15); }
.rs-err { background: #fef2f2; color: #b91c1c !important; border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: .9rem; }
.rs-btn { background: linear-gradient(135deg, #1d4ed8, #0b1f4d) !important; box-shadow: 0 12px 24px -14px rgba(29,78,216,.9); font-size: 1.1rem !important; }
.rs-btn.ghost { background: #fff !important; color: #0b1f4d !important; border: 2px solid #dbe3f0 !important; box-shadow: none; }
.rs-steps-hint { list-style: none; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 0; margin: 18px 0 4px; }
.rs-steps-hint li { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: #334155; background: #f1f5f9; border-radius: 999px; padding: 5px 12px 5px 5px; }
.rs-steps-hint b { width: 22px; height: 22px; border-radius: 50%; background: #1d4ed8; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; }
.rs-help { margin: 14px auto 0 !important; max-width: 460px; padding: 10px 14px; border-radius: 12px; background: #eff6ff; color: #1e3a8a !important; font-weight: 700; font-size: .92rem; text-align: center; border: 1px solid #bfdbfe; }
.rs-main > .rs-help { margin-top: 14px !important; }
.rs-res.wait { border-top-color: #1d4ed8 !important; } .rs-res.wait .rs-tag { background: #dbeafe !important; color: #1e3a8a !important; }
.rs-app dd { word-break: break-word; }
.rs-now { margin: 12px 0 0 !important; font-weight: 800; color: #0b1f4d !important; font-size: 1.05rem; }
.rs-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; margin-right: 6px; vertical-align: 1px; animation: rsLive70 1.6s infinite; }
@keyframes rsLive70 { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.6); } 70% { box-shadow: 0 0 0 7px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.rs-flow.v70 li.todo .rs-fi { background: #f8fafc; color: #94a3b8; }
.rs-flow.v70 li.todo small { color: #94a3b8; }
.rs-flow.v70 li.wait .rs-fi { background: #fff7ed; border-color: #f59e0b; color: #b45309; }
.rs-flow.v70 li.wait small { color: #b45309; font-weight: 800; }
@media (max-width: 480px) { .rs-form input { font-size: 1.15rem; } .rs-app > div { flex-direction: column; gap: 2px; } .rs-app dd { text-align: left; } }
