/* wifipoa.com purchase and pay pages (brand blue as today's purchase page) */
@font-face { font-family: Inter; font-weight: 100 900; font-display: swap;
    src: url(/assets/vendor/inter/inter-latin-wght-normal-NRMW37G5.woff2) format("woff2"); }
:root { --poa-blue: #2563eb; --poa-blue-dark: #1d4ed8; --poa-light: #eff6ff; --poa-line: #bfdbfe; }
body { font-family: Inter, system-ui, sans-serif; background: #f8fafc; color: #0f172a; }
.brand-bar { background: #fff; border-bottom: 1px solid #e2e8f0; }
.brand-bar img { height: 40px; }
.lang-switch button { border: 1px solid var(--poa-line); background: #fff; color: var(--poa-blue); padding: .2rem .6rem; font-size: .85rem; }
.lang-switch button.active { background: var(--poa-blue); color: #fff; }
.wizard { max-width: 560px; margin: 0 auto; }
.step-bar { height: 6px; background: #e2e8f0; border-radius: 3px; overflow: hidden; }
.step-bar > span { display: block; height: 100%; background: var(--poa-blue); transition: width .3s; }
.step-bar > span[data-step="1"] { width: 25%; } .step-bar > span[data-step="2"] { width: 50%; }
.step-bar > span[data-step="3"] { width: 75%; } .step-bar > span[data-step="4"] { width: 100%; }
.choice { display: block; width: 100%; text-align: left; border: 2px solid #e2e8f0; background: #fff; border-radius: .75rem;
    padding: 1rem 1.1rem; margin-bottom: .75rem; transition: border-color .15s, background .15s; color: inherit; }
.choice:hover, .choice:focus { border-color: var(--poa-blue); background: var(--poa-light); outline: none; }
.choice.selected { border-color: var(--poa-blue); background: var(--poa-light); }
.choice .price { font-weight: 700; color: var(--poa-blue); }
.providers { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.providers .choice { margin: 0; text-align: center; }
.providers img { height: 34px; display: block; margin: 0 auto .3rem; object-fit: contain; }
.summary { background: var(--poa-light); border: 1px solid var(--poa-line); border-radius: .75rem; padding: 1rem; }
.summary dt { font-weight: 500; color: #475569; } .summary dd { font-weight: 600; margin-bottom: .4rem; }
.btn-poa { background: var(--poa-blue); border-color: var(--poa-blue); color: #fff; font-weight: 600; padding: .7rem; }
.btn-poa:hover, .btn-poa:focus { background: var(--poa-blue-dark); border-color: var(--poa-blue-dark); color: #fff; }
.status-icon { font-size: 3.5rem; line-height: 1; }
.status-icon.ok { color: #16a34a; } .status-icon.bad { color: #dc2626; } .status-icon.wait { color: var(--poa-blue); }
.hidden { display: none !important; }
.spin { animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
footer.help { color: #64748b; font-size: .9rem; }
/* client.wifipoa.com additions */
.client-nav a { color: #334155; text-decoration: none; padding: .35rem .6rem; border-radius: .4rem; }
.client-nav a.active, .client-nav a:hover { background: var(--poa-light); color: var(--poa-blue); }
.usage { display: flex; align-items: flex-end; gap: 3px; height: 90px; }
.usage > span { flex: 1; background: var(--poa-blue); border-radius: 2px 2px 0 0; min-height: 2px; }
.usage > span[data-h="0"]{height:2%}.usage > span[data-h="5"]{height:5%}.usage > span[data-h="10"]{height:10%}.usage > span[data-h="15"]{height:15%}
.usage > span[data-h="20"]{height:20%}.usage > span[data-h="25"]{height:25%}.usage > span[data-h="30"]{height:30%}.usage > span[data-h="35"]{height:35%}
.usage > span[data-h="40"]{height:40%}.usage > span[data-h="45"]{height:45%}.usage > span[data-h="50"]{height:50%}.usage > span[data-h="55"]{height:55%}
.usage > span[data-h="60"]{height:60%}.usage > span[data-h="65"]{height:65%}.usage > span[data-h="70"]{height:70%}.usage > span[data-h="75"]{height:75%}
.usage > span[data-h="80"]{height:80%}.usage > span[data-h="85"]{height:85%}.usage > span[data-h="90"]{height:90%}.usage > span[data-h="95"]{height:95%}
.usage > span[data-h="100"]{height:100%}
.msg { border-radius: .75rem; padding: .6rem .8rem; margin-bottom: .5rem; max-width: 85%; }
.msg.me { background: var(--poa-light); margin-left: auto; } .msg.them { background: #fff; border: 1px solid #e2e8f0; }
/* Login (the look of today's wifipoa.com/login) */
.login-page { margin: 0; background: #f9fafb; }
.login-split { min-height: 100vh; display: flex; }
.login-side { flex: 1; display: flex; align-items: center; justify-content: center; padding: 1.5rem; position: relative; }
.login-lang { position: absolute; top: 1rem; right: 1rem; display: flex; }
.login-box { width: 100%; max-width: 24rem; }
.login-logo { display: block; text-align: center; margin-bottom: 2rem; }
.login-logo img { height: 4rem; width: auto; }
.login-card { background: #fff; border-radius: .5rem; box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06); padding: 2rem 2.5rem; }
.login-card label { display: block; font-size: .875rem; font-weight: 500; color: #374151; margin: 0 0 .25rem; }
.login-card input { width: 100%; box-sizing: border-box; border: 1px solid #d1d5db; border-radius: .375rem; padding: .55rem .75rem;
    font: inherit; font-size: 1rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); margin-bottom: 1.5rem; }
.login-card input:focus { outline: none; border-color: var(--poa-blue); box-shadow: 0 0 0 1px var(--poa-blue); }
.login-pass { position: relative; }
.login-pass input { padding-right: 2.5rem; }
.login-eye { position: absolute; top: 0; right: 0; height: 2.6rem; width: 2.5rem; border: 0; background: none; color: #6b7280; cursor: pointer; }
.login-eye:hover { color: #374151; } .login-eye svg { width: 1.25rem; height: 1.25rem; }
.login-submit { width: 100%; border: 0; border-radius: .375rem; padding: .6rem 1rem; color: #fff; font: inherit; font-size: .9rem; font-weight: 600;
    background: linear-gradient(to right, var(--poa-blue), var(--poa-blue-dark)); cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.login-submit:hover { box-shadow: 0 4px 6px rgba(0,0,0,.1); }
.login-submit:focus { outline: 2px solid var(--poa-blue); outline-offset: 2px; }
.login-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: .375rem; padding: .6rem .75rem; font-size: .9rem; margin-bottom: 1.25rem; }
.login-help { text-align: center; color: #64748b; font-size: .85rem; margin-top: 1.25rem; }
.login-panel { display: none; }
@media (min-width: 1024px) {
    .login-panel { display: flex; width: 50%; align-items: center; justify-content: center; padding: 3rem; color: #fff;
        background: linear-gradient(to right, var(--poa-blue), var(--poa-blue-dark)); }
    .login-panel > div { max-width: 28rem; }
    .login-panel h2 { font-size: 1.875rem; font-weight: 700; margin: 0 0 1.5rem; }
    .login-feature { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1.25rem; }
    .login-feature > span { flex-shrink: 0; background: rgba(255,255,255,.2); padding: .5rem; border-radius: 9999px; display: flex; }
    .login-feature svg { width: 1.5rem; height: 1.5rem; }
    .login-feature strong { display: block; font-weight: 500; }
    .login-feature small { display: block; font-size: .875rem; opacity: .9; margin-top: .25rem; }
}
