/* Owner dashboard: sleek & simple (Huy 21.11 "Make everything sleek and simple like this" + "combine NEXT's blue").
   Model: the card builder's step 1 screen. White, black type, thin rounded cards, one black primary button per form.
   Accent = NEXT Digital Solutions blue #1E3A8A (--blue in nextdigitalsolutions.ch /assets/site.3022e7047d.css):
   progress bars, ticks/checkboxes, active tab, links, focus. Visual only: no markup, text or feature changes. Linked last in owner.html. */
:root{--nx:#1E3A8A;--nx-soft:#EDF2FD;--nx-dark:#172F6E;--acc:#1E3A8A;--line:#E7E7EA;--bg:#F5F6F8}
body{background:#fff}
.main{background:#fff}

/* type */
.top h2,.main h2{font-weight:700;letter-spacing:-.8px}
.box h3{font-size:15px;font-weight:650;letter-spacing:-.2px}
.muted,.hint,.field small{color:var(--mut)}

/* cards: one thin rounded style, no shadows */
.k,.box,.cb .cb-card,.lc-sms .box{border:1px solid var(--line)!important;border-radius:18px;box-shadow:none!important;background:#fff}
.k b{font-weight:700;letter-spacing:-1px}
.k em{color:var(--nx)}

/* links + inline actions in blue */
.main a:not(.btn):not([class*=cb-]):not(.seg a),.box h3>a,.cb .cb-lnk,.side .help{color:var(--nx)}
.main a:not(.btn):not([class*=cb-]){text-decoration:none}
@media(hover:hover){.main a:not(.btn):hover{text-decoration:underline;text-underline-offset:3px}}

/* buttons: NEXT-blue primary, thin outline secondary */
.btn{background:var(--nx);color:#fff;border-radius:14px;font-weight:650;box-shadow:none}
/* Huy 21.11 "Cac nut dung mau xanh cua next": primary buttons in NEXT blue, a touch darker on hover/press */
.btn:not(.ghost):not(.light){background:var(--nx);color:#fff;border-color:var(--nx)}
@media(hover:hover){.btn:not(.ghost):not(.light):not(:disabled):hover{background:var(--nx-dark)}}
.btn:not(.ghost):not(.light):not(:disabled):active{background:var(--nx-dark)}
.btn.ghost,.btn.light{background:#fff;color:var(--ink);border:1px solid var(--line)}
@media(hover:hover){.btn.ghost:hover,.btn.light:hover{border-color:var(--ink)}}

/* inputs: thin border, blue focus */
input[type=text],input[type=tel],input[type=email],input[type=date],input[type=password],input[type=number],input[type=url],input:not([type]),select,textarea{border:1px solid var(--line);border-radius:12px;background:#fff}
input:focus,select:focus,textarea:focus{border-color:var(--nx)!important;box-shadow:0 0 0 3px #1E3A8A1f!important;outline:none}
.check input,input[type=checkbox],input[type=radio]{accent-color:var(--nx)}
input[type=range]{accent-color:var(--nx)}

/* chips: thin outline, selected = black (as in the builder) */
.chip,.bge .chip{border:1px solid var(--line);border-radius:999px;background:#fff;box-shadow:none}
.chip.on,.bge .chip.on{background:var(--ink);color:#fff;border-color:var(--ink)}

/* tabs: active = NEXT blue */
.seg{background:var(--bg);border-radius:12px}
.seg .a,.seg [aria-selected=true]{background:#fff;color:var(--nx)!important;box-shadow:0 1px 2px #0000001a}
.side nav a.a{background:var(--nx-soft);color:var(--nx);font-weight:650}
.botnav{border-top:1px solid var(--line);box-shadow:none}
.botnav a.a{color:var(--nx)}
.cb .cb-tg button.on{color:var(--nx)}
.bge .seg button.on,.bge .bgtabs button.on{color:var(--nx)}

/* progress + charts + ticks */
.cb .cb-steps li.done i,.cb .cb-steps li.on i{background:var(--nx)}
.chart i{background:#DCE6FB}
.chart div.t i{background:var(--nx)}
.pill{background:var(--nx-soft);color:var(--nx)}
.cb .cb-saved{color:var(--nx)}.cb .cb-saved i{background:var(--nx)}
.cb .cb-done-ic,.cb .cb-ok{background:var(--nx-soft)!important;color:var(--nx)!important}
.cb .cb-chip.on svg,.cb .cb-ph button.sel:after{color:var(--nx)}

/* tables: hairlines */
td,th{border-top-color:#F0F0F2}
.cut tr[data-cu]:hover td{background:#F7F9FE}

/* messages */
.msg.ok{background:var(--nx-soft);color:var(--nx)}

/* QR screen after "Create card" (bug 21.11): on phones the fixed "Go to dashboard" bar + bottom menu covered the poster.
   On that screen the bar sits in the page flow instead, and the page keeps room for the bottom menu. */
.cb[data-step="5"] .cb-bar{position:static;border-top:0;padding:16px 16px 0;background:none}
@media(max-width:860px){.cb[data-step="5"]{padding-bottom:calc(var(--botnav-h,64px) + 24px + env(safe-area-inset-bottom))}}

/* Huy 21.11 "Bo qua how much the card brought back": revenue block hidden in the UI only (API + data untouched) */
#revbox{display:none!important}
