/* NexoPOS Online: additions to the landing's design system (styles.css + funnel.css), shared by the landing's
   «Dos formas» section, nexopos.tech/registro, the waiting and not-found pages and the owner panel (/dueno). */

/* Landing: the two editions */
.ed-grid { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ed-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-xl); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.ed-card h3 { margin: 0; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.12; letter-spacing: -0.03em; }
.ed-card .checks { margin: 0; flex: 1; }
.ed-card .checks li { color: rgba(255, 255, 255, .88); }
.ed-online { background: linear-gradient(160deg, rgba(42, 125, 225, .22), rgba(0, 206, 124, .12)); box-shadow: inset 0 0 0 1px rgba(0, 206, 124, .35); }
.ed-tag { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.ed-note { margin: 0; font-size: 14px; color: var(--muted-dark); }
@media (max-width: 860px) { .ed-grid { grid-template-columns: 1fr; } }

/* Shared page shell for the Online pages (gateway and owner panel) */
.on-main { padding-top: clamp(20px, 4vw, 48px); padding-bottom: 80px; }
.on-narrow { max-width: 560px; margin: 0 auto; }
.on-wide { max-width: 980px; margin: 0 auto; display: grid; gap: 18px; }
.on-card { background: var(--white); color: var(--text); border-radius: var(--radius-l); padding: clamp(20px, 3.4vw, 36px); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7); }
.on-card h1, .on-card h2 { margin: 0; letter-spacing: -0.03em; line-height: 1.12; }
.on-card h1 { font-size: clamp(26px, 3vw, 36px); }
.on-card h2 { font-size: clamp(20px, 2.2vw, 26px); }
.on-card p { color: var(--muted); }
.on-card p b, .on-card dd { color: var(--text); }
.on-card .btn { margin-top: 18px; }
.on-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.on-head h1 { margin: 10px 0 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; }
.on-head p { margin: 8px 0 0; color: var(--muted-dark); }
.on-head a { color: var(--green); font-weight: 700; }
.on-msg { margin: 0; padding: 14px 18px; border-radius: var(--radius-m); font-weight: 600; }
.on-msg.ok { background: #e7f8ef; color: #0b5d39; box-shadow: inset 0 0 0 1px #9ee0bf; }
.on-msg.bad { background: #fdebed; color: #8f1a2d; box-shadow: inset 0 0 0 1px #f2b3bd; }
.on-msg.info { background: #fff6e5; color: #5a4310; box-shadow: inset 0 0 0 1px #f2d49b; }
.on-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 18px 0 0; }
.on-dl dt { color: var(--muted); }
.on-dl dd { margin: 0; font-weight: 700; }
.on-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.on-badge.ok { background: #dcfce7; color: #166534; }
.on-badge.bad { background: #fee2e2; color: #991b1b; }
.on-badge.warn { background: #fef3c7; color: #92400e; }
.on-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.on-row form { margin: 0; }
.on-row .btn, .on-row .btn-sm { margin-top: 0; }
.on-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.on-table th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid #e6ecf5; }
.on-table td { padding: 12px 10px; border-bottom: 1px solid #eef2f8; vertical-align: top; }
.on-table a { color: var(--blue-deep); font-weight: 700; }
.on-muted { color: var(--muted); font-size: 14px; }
.on-check { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--text); cursor: pointer; }
.on-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue-deep); }
.on-card .chip > span { color: var(--text); }
.on-card .options-chips { margin-top: 8px; }
.on-card .fgrid { margin-top: 16px; }
.on-req { padding-top: 18px; margin-top: 18px; border-top: 1px solid #e6ecf5; }
.on-req:first-of-type { border-top: 0; margin-top: 8px; padding-top: 0; }
.btn-danger { background: #c2283d; color: var(--white); }
.btn-danger:hover { box-shadow: 0 14px 34px -12px rgba(194, 40, 61, .7); }
.on-card code { font-size: 15px; padding: 2px 8px; border-radius: 8px; background: var(--paper); }
@media (max-width: 640px) { .on-card .fgrid { grid-template-columns: 1fr; } .on-table th:nth-child(4), .on-table td:nth-child(4) { display: none; } }

/* Password with eye button: round light-blue button, eye to show, crossed eye to hide */
.pw { position: relative; }
.pw input { padding-right: 60px !important; }
.pw-eye { position: absolute; right: 6px; top: 50%; translate: 0 -50%; width: 42px; height: 42px; display: grid; place-items: center; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #e9f1fd; color: var(--navy); cursor: pointer; transition: background-color .2s, transform .15s; }
.pw-eye:hover { background: #dbe8fb; transform: none; box-shadow: none; }
.pw-eye:active { transform: scale(.94); }
.pw-eye svg { width: 22px; height: 22px; }
.pw-eye .eye-off { display: none; }
.pw-eye[aria-pressed="true"] .eye-on { display: none; }
.pw-eye[aria-pressed="true"] .eye-off { display: block; color: var(--blue-deep); }
.pw-eye:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* Sending: spinner, no second tap */
button.loading, .btn.loading { pointer-events: none; opacity: .85; gap: 10px; }
button.loading::after, .btn.loading::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: on-spin .7s linear infinite; }
@keyframes on-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { button.loading::after, .btn.loading::after { animation-duration: 2s; } }

/* Plans and QvaPay payments (/planes, /registro, /planes/renovar) */
.pl-head { text-align: left; }
.pl-head h1 { margin: 10px 0 0; }
.pl-head p { margin: 12px 0 0; max-width: 60ch; color: var(--muted-dark); }
.pl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pl-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: clamp(22px, 3.2vw, 36px); border-radius: var(--radius-l); background: var(--white); color: var(--text); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7); }
.pl-card.best { box-shadow: inset 0 0 0 2.5px var(--green), 0 50px 100px -40px rgba(0, 0, 0, .7); }
.pl-card h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.03em; }
.pl-card .btn { margin-top: auto; align-self: flex-start; }
.pl-tag { position: absolute; top: 18px; right: 18px; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--green); color: var(--navy); font-size: 13px; font-weight: 800; }
.pl-price { margin: 4px 0 6px; color: var(--muted); font-size: 16px; }
.pl-price b { color: var(--text); font-size: clamp(34px, 4vw, 44px); letter-spacing: -0.04em; }
.pl-list { margin: 6px 0 22px; padding-left: 20px; display: grid; gap: 6px; color: var(--text); }
.pl-mods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pl-mod { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #d9e1ec; font-weight: 600; font-size: 15px; color: var(--text); background: var(--white); }
label.pl-mod { cursor: pointer; }
label.pl-mod:has(input:checked) { background: #f1f6ff; box-shadow: inset 0 0 0 2px var(--blue-deep); }
.pl-mod input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue-deep); }
.pl-mod.on { background: #e7f8ef; color: #0b5d39; box-shadow: inset 0 0 0 1px #9ee0bf; }
.pl-choice { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.pl-choice legend { padding: 0; margin-bottom: 8px; font-weight: 800; font-size: 15.5px; color: var(--text); }
.pl-choice legend span { font-weight: 600; color: var(--muted); }
.pl-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-top: 8px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px #d9e1ec; cursor: pointer; }
.pl-opt:has(input:checked) { background: #f1f6ff; box-shadow: inset 0 0 0 2px var(--blue-deep); }
.pl-opt input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--blue-deep); }
.pl-opt b { color: var(--text); }
.pl-opt em { font-style: normal; font-weight: 800; color: var(--blue-deep); margin-left: 6px; }
.pl-opt small { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.pl-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.pl-foot .btn { margin-top: 0; }
.pl-note { margin: 0; color: var(--muted-dark); }
.pl-note a, .pl-note b { color: var(--white); }
.pl-addr { display: flex; align-items: center; border-radius: 14px; box-shadow: inset 0 0 0 1.5px #ccd6e4; overflow: hidden; }
.pl-addr span { padding: 0 4px 0 14px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.pl-addr input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; padding-left: 0 !important; }
.pl-pays { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--text); font-size: 15px; }
@media (max-width: 760px) { .pl-grid { grid-template-columns: 1fr; } .pl-tag { position: static; align-self: flex-start; margin-bottom: 6px; } }

/* Plans by number of businesses (1.6.0) */
.pl-grid3 { grid-template-columns: repeat(3, 1fr); }
.pl-card .pl-price + .pl-price { margin-top: -4px; font-size: 14.5px; }
.pl-btns { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.pl-btns .btn { margin-top: 0; }
.pl-tier { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; margin-top: 8px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px #d9e1ec; }
.pl-tier:has(input:checked) { background: #f1f6ff; box-shadow: inset 0 0 0 2px var(--blue-deep); }
.pl-tier b { color: var(--text); }
.pl-tier small { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.pl-pers { display: flex; gap: 8px; flex-wrap: wrap; }
.pl-per { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #d9e1ec; background: var(--white); font-weight: 700; font-size: 14.5px; color: var(--text); cursor: pointer; }
.pl-per:has(input:checked) { box-shadow: inset 0 0 0 2px var(--blue-deep); color: var(--blue-deep); }
.pl-per input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue-deep); }
@media (max-width: 960px) { .pl-grid3 { grid-template-columns: 1fr; } }
