/* ============================================================
   VESI eWallet — dizajn 1b "Kartično / fintech"
   Tri dinamičke pozadine + brand tokeni (multi-tenant)
   ============================================================ */
:root{
	--bg-dark:#0E1524;
	--bg-light:#E9F4FA;
	--bg-white:#FFFFFF;
	--brand:#189CD8;
	--brand-dark:#0F7DB0;
	--brand-light:#5FBDE6;
	--ok-dark:#4CC38A;
	--ok-light:#2E8B57;
	--warn:#FFB020;
	--warn-txt:#FFC96B;
	--txt:#141414;
	--muted:#8a8a8a;
	--muted2:#9a9a9a;
	--line:#e8e9ec;
	--line2:#f0f0f2;
	--r-card:20px;
	--r-btn:16px;
	--r-head:32px;
	--shadow-brand:0 10px 26px rgba(24,156,216,0.3);
	--shadow-card:0 14px 30px rgba(24,156,216,0.35);
	--font:'Space Grotesk',system-ui,-apple-system,sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent;}
html{height:100%;}
body{
	font-family:var(--font);
	color:var(--txt);
	min-height:100vh;
	min-height:100svh;
	max-width:520px;
	margin:0 auto;
	-webkit-font-smoothing:antialiased;
}
body.bg-dark-screen{background:var(--bg-dark);}
body.bg-light-screen{background:var(--bg-light);}
body.modal-open{overflow:hidden;}
button{font-family:var(--font);border:none;cursor:pointer;background:none;color:inherit;}
a{color:var(--brand-light);text-decoration:none;}
.d-none{display:none !important;}
.tnum{font-variant-numeric:tabular-nums;}
.txt-white{color:#fff;}
.txt-accent{color:var(--brand-light);}
.txt-brand-dark{color:var(--brand-dark);}
.muted{color:rgba(255,255,255,0.55);}
.muted-sm{font-size:12.5px;color:var(--muted2);}
.muted-d{font-size:14px;color:#6b6b6b;line-height:1.5;}
.w100{width:100%;}
.mt16{margin-top:16px;}

/* ---------------- screens ---------------- */
.screen{
	min-height:100vh;
	min-height:100svh;
	display:flex;
	flex-direction:column;
}
.screen.dark{
	background:var(--bg-dark);
	color:#fff;
	padding:calc(24px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
}
.scr_home{
	background:linear-gradient(175deg,var(--bg-dark) 0%,#111C31 60%,var(--bg-dark) 100%) !important;
}
.screen.light{
	background:var(--bg-light);
	padding-bottom:calc(14px + env(safe-area-inset-bottom));
}

/* ---------------- home ---------------- */
.home-logo{height:52px;width:auto;align-self:flex-start;margin-left:-2px;margin-top:16px;}
.home-hero{flex:1;display:flex;flex-direction:column;justify-content:center;gap:16px;}
.home-hero h1{font-size:36px;font-weight:700;line-height:1.12;letter-spacing:-0.8px;}
.home-sub{font-size:16px;color:rgba(255,255,255,0.6);line-height:1.5;}
.chips{display:flex;gap:8px;margin-top:4px;flex-wrap:wrap;}
.chip{font-size:12.5px;color:rgba(255,255,255,0.65);border:1px solid rgba(255,255,255,0.18);border-radius:99px;padding:6px 12px;}
.home-actions{display:flex;flex-direction:column;gap:10px;}
.home-links{display:flex;justify-content:center;gap:14px;padding-top:12px;font-size:14px;font-weight:600;}
.home-links a{color:var(--brand-light);}
.dot-sep{color:rgba(255,255,255,0.25);}

/* ---------------- dugmad ---------------- */
.btn-primary{
	width:100%;
	height:58px;
	border-radius:var(--r-btn);
	background:var(--brand);
	color:#fff;
	display:flex;align-items:center;justify-content:center;gap:10px;
	font-size:17px;font-weight:700;
	box-shadow:var(--shadow-brand);
}
.btn-primary:active{background:var(--brand-dark);}
.btn-primary:disabled{opacity:0.6;}
.btn-dark{
	width:100%;
	height:58px;
	border-radius:var(--r-btn);
	background:var(--bg-dark);
	color:#fff;
	display:flex;align-items:center;justify-content:center;gap:10px;
	font-size:17px;font-weight:700;
}
.btn-ghost{
	flex:1;
	height:54px;
	border-radius:var(--r-btn);
	background:rgba(255,255,255,0.1);
	border:1px solid rgba(255,255,255,0.16);
	color:#fff;
	font-size:16px;font-weight:600;
	display:flex;align-items:center;justify-content:center;
}
.btn-ghost:active{background:rgba(255,255,255,0.18);}
.btn-plain{
	width:100%;height:46px;
	display:flex;align-items:center;justify-content:center;
	font-size:15px;font-weight:600;color:#6b6b6b;
}
.btn-duo{display:flex;gap:10px;}
.qr-ico{width:20px;height:20px;border:2.5px solid rgba(255,255,255,0.95);border-radius:5px;position:relative;flex-shrink:0;}
.qr-ico span{position:absolute;inset:4px;background:rgba(255,255,255,0.95);border-radius:2px;}
.qr-ico.accent{border-color:var(--brand-light);}
.qr-ico.accent span{background:var(--brand-light);}

.bottom-actions{margin-top:auto;padding-top:14px;}
.screen.light .bottom-actions{padding:14px 24px calc(26px + env(safe-area-inset-bottom));}
.bottom-actions.col{display:flex;flex-direction:column;gap:8px;}

/* ---------------- auth / pin ---------------- */
.back-btn{
	width:42px;height:42px;border-radius:14px;
	background:rgba(255,255,255,0.08);
	border:1px solid rgba(255,255,255,0.12);
	display:flex;align-items:center;justify-content:center;
	font-size:18px;color:rgba(255,255,255,0.7);
	flex-shrink:0;
}
.back-btn.inline{width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,0.1);border:none;font-size:17px;color:rgba(255,255,255,0.75);}
.auth-head{padding-top:28px;padding-bottom:8px;}
.auth-head h2{font-size:27px;font-weight:700;letter-spacing:-0.5px;}
.auth-head p{font-size:15px;margin-top:8px;line-height:1.5;}
.fgroup{margin-top:20px;}
.fgroup label{display:block;font-size:13.5px;font-weight:600;color:rgba(255,255,255,0.65);margin-bottom:8px;}
.fgroup input{
	width:100%;
	height:56px;
	border-radius:var(--r-btn);
	background:rgba(255,255,255,0.06);
	border:1px solid rgba(255,255,255,0.14);
	color:#fff;
	font-family:var(--font);
	font-size:17px;
	padding:0 16px;
	outline:none;
}
.fgroup input:focus{border-color:var(--brand);}
.fgroup small{display:block;margin-top:6px;font-size:12.5px;}
.alert-err{
	background:rgba(224,49,49,0.12);
	border:1px solid rgba(224,49,49,0.4);
	border-radius:14px;
	padding:12px 14px;
	font-size:13.5px;
	color:#FF8787;
	line-height:1.5;
	margin-top:16px;
}
.screen.light .alert-err{background:#FDECEC;border-color:#F5C2C2;color:#C0392B;}

.pin-box{
	margin-top:28px;
	background:rgba(255,255,255,0.06);
	border:1px solid rgba(255,255,255,0.12);
	border-radius:var(--r-card);
	padding:22px;
	display:flex;justify-content:center;gap:18px;
}
.pin-digit{
	font-size:40px;font-weight:700;width:40px;text-align:center;
	border-bottom:3px solid rgba(255,255,255,0.2);
	color:rgba(255,255,255,0.25);
	font-variant-numeric:tabular-nums;
}
.pin-digit.full{border-bottom-color:var(--brand);color:#fff;}
.pin-box.shake{animation:ewShake 0.4s;}
@keyframes ewShake{
	0%,100%{transform:translateX(0);}
	20%,60%{transform:translateX(-8px);}
	40%,80%{transform:translateX(8px);}
}
.pin-meta{
	display:flex;justify-content:space-between;align-items:center;
	margin-top:16px;font-size:13.5px;color:rgba(255,255,255,0.55);
}
.pin-meta a{color:var(--brand-light);font-weight:600;}
.pin-meta a.disabled{color:rgba(255,255,255,0.3);pointer-events:none;}
.pin-bottom{margin-top:auto;padding-top:20px;}
.info-box{
	background:rgba(24,156,216,0.1);
	border:1px solid rgba(24,156,216,0.3);
	border-radius:14px;
	padding:12px 14px;
	font-size:13px;color:rgba(255,255,255,0.65);line-height:1.5;
	margin-bottom:14px;
}
.info-box.light{
	background:var(--bg-white);
	border:1px solid var(--line);
	color:#6b6b6b;
	margin:18px 0 0;
}
.keypad{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;}
.keypad button{
	height:54px;border-radius:14px;
	background:rgba(255,255,255,0.07);
	color:#fff;
	font-family:var(--font);
	font-size:22px;font-weight:600;
}
.keypad button:active{background:rgba(255,255,255,0.16);}
.keypad .key-del{background:none;font-size:18px;color:rgba(255,255,255,0.5);}

/* ---------------- tamni header (racun/pay) ---------------- */
.dark-header{
	background:var(--bg-dark);
	padding:calc(22px + env(safe-area-inset-top)) 24px 84px;
	border-radius:0 0 var(--r-head) var(--r-head);
	color:#fff;
}
.dark-header.pay{padding-bottom:22px;}
.dh-row{display:flex;align-items:center;gap:12px;}
.dh-logo{height:38px;width:auto;margin-left:-2px;}
.avatar{
	margin-left:auto;width:34px;height:34px;border-radius:99px;
	background:rgba(255,255,255,0.12);
	display:flex;align-items:center;justify-content:center;
	font-size:13px;font-weight:700;color:#fff;
}
.step-label{font-size:13px;color:rgba(255,255,255,0.5);font-weight:600;}
.dh-title{margin-top:16px;font-size:22px;font-weight:700;letter-spacing:-0.4px;}
.src-line{margin-top:16px;font-size:13px;color:rgba(255,255,255,0.6);}

.machine-row{margin-top:18px;display:flex;gap:14px;align-items:center;}
.machine-badge{
	width:46px;height:46px;border-radius:12px;background:var(--brand);
	display:flex;align-items:center;justify-content:center;
	color:#fff;font-weight:700;font-size:13px;flex-shrink:0;
}
.machine-badge.sm{width:38px;height:38px;font-size:12px;border-radius:10px;}
.machine-info{flex:1;min-width:0;}
.machine-name{font-size:16px;font-weight:700;}
.machine-loc{font-size:12.5px;color:rgba(255,255,255,0.55);margin-top:2px;}
.online-tag{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--ok-dark);font-weight:600;white-space:nowrap;}
.online-tag.offline{color:var(--warn-txt);}
.pulse-dot{width:8px;height:8px;border-radius:99px;background:var(--ok-dark);animation:ewPulse 2s infinite;}
.pulse-dot.off{background:var(--warn);animation:none;}
@keyframes ewPulse{
	0%{box-shadow:0 0 0 0 rgba(76,195,138,0.5);}
	70%{box-shadow:0 0 0 8px rgba(76,195,138,0);}
	100%{box-shadow:0 0 0 0 rgba(76,195,138,0);}
}

/* ---------------- wallet kartice ---------------- */
.cards-stack{margin:-64px 24px 0;display:flex;flex-direction:column;gap:10px;}
.wallet-card{border-radius:var(--r-card);padding:18px 20px;}
.wallet-card.grad{
	background:linear-gradient(120deg,var(--brand),var(--brand-dark));
	color:#fff;
	box-shadow:var(--shadow-card);
}
.wallet-card.white{background:var(--bg-white);border:1px solid var(--line);padding:14px 20px;}
.wc-top{display:flex;align-items:center;}
.wc-flex{display:flex;align-items:center;}
.wc-label{font-size:12.5px;font-weight:600;text-transform:uppercase;letter-spacing:0.6px;opacity:0.85;}
.wc-label.gray{color:var(--muted);opacity:1;}
.wc-chip{
	margin-left:auto;font-size:12px;font-weight:600;
	background:rgba(255,255,255,0.2);border-radius:99px;padding:4px 10px;color:#fff;
	font-family:var(--font);
}
.wc-amount{font-size:36px;font-weight:700;letter-spacing:-0.8px;margin-top:10px;}
.wc-amount.sm{font-size:24px;margin-top:4px;color:var(--brand-dark);}
.wc-amount.md{font-size:30px;margin-top:8px;}
.wc-cur{font-size:17px;opacity:0.8;}
.wc-amount.sm .wc-cur{font-size:14px;opacity:0.7;}
.wc-amount.md .wc-cur{font-size:15px;}
.wc-note{margin-left:auto;font-size:12px;color:var(--muted2);max-width:130px;line-height:1.4;text-align:right;}

/* ---------------- racun body ---------------- */
.rac-body{flex:1;padding:18px 24px 0;}
.sec-title-row{display:flex;align-items:baseline;gap:8px;}
.sec-title{font-size:15px;font-weight:700;}
.sec-user{margin-left:auto;}
.dev-list{margin-top:10px;display:flex;flex-direction:column;gap:8px;}
.dev-card{
	background:var(--bg-white);
	border:1px solid var(--line);
	border-radius:var(--r-btn);
	padding:12px 14px;
	display:flex;align-items:center;gap:12px;
	cursor:pointer;
}
.dev-card:active{background:#F7FBFE;}
.dev-info{flex:1;min-width:0;}
.dev-name{font-size:14.5px;font-weight:600;}
.dev-loc{font-size:12px;color:var(--muted2);margin-top:1px;}
.dev-arr{color:#c2c6cc;font-size:18px;font-weight:600;margin-left:auto;}
.dev-empty{
	background:var(--bg-white);border:1px dashed #cdd7de;border-radius:var(--r-btn);
	padding:18px 16px;font-size:13.5px;color:#6b6b6b;text-align:center;line-height:1.5;
}
.rac-actions{margin-top:14px;display:flex;flex-direction:column;gap:8px;}
.act-row{
	width:100%;
	background:var(--bg-white);
	border:1px solid var(--line);
	border-radius:var(--r-btn);
	padding:14px;
	display:flex;align-items:center;gap:10px;
	font-family:var(--font);
	font-size:14.5px;font-weight:600;color:var(--txt);
	text-align:left;
}
.act-ico{
	width:30px;height:30px;border-radius:99px;background:#F0F1F4;
	display:flex;align-items:center;justify-content:center;
	font-size:14px;color:#666;flex-shrink:0;
}

/* ---------------- payment wizard ---------------- */
.pay-body{flex:1;padding:24px 24px 0;}
.pay-body h3{font-size:22px;font-weight:700;letter-spacing:-0.4px;}
.pay-body h3 + .muted-d{margin-top:6px;}
.src-stack{display:flex;flex-direction:column;gap:12px;margin-top:16px;}
.src-card{
	background:var(--bg-white);
	border:1px solid var(--line);
	border-radius:var(--r-card);
	padding:18px 20px;
	position:relative;
	cursor:pointer;
}
.src-card .wc-amount.md{color:#6b6b6b;}
.src-card .src-check{
	position:absolute;top:14px;right:14px;
	width:26px;height:26px;border-radius:99px;
	background:#eef0f3;color:#b6bcc4;
	display:flex;align-items:center;justify-content:center;
	font-size:14px;font-weight:700;
}
.src-card.sel{
	background:linear-gradient(120deg,var(--brand),var(--brand-dark));
	border-color:transparent;
	color:#fff;
	box-shadow:0 12px 26px rgba(24,156,216,0.35);
}
.src-card.sel .wc-label{color:#fff;opacity:0.85;}
.src-card.sel .wc-amount.md{color:#fff;}
.src-card.sel .src-check{background:#fff;color:var(--brand-dark);}

.stepper-card{
	background:var(--bg-white);
	border:1px solid var(--line);
	border-radius:var(--r-card);
	margin-top:18px;
	padding:22px;
	display:flex;align-items:center;justify-content:center;gap:26px;
}
.step-btn{
	width:56px;height:56px;border-radius:99px;
	display:flex;align-items:center;justify-content:center;
	font-size:26px;
	font-family:var(--font);
	flex-shrink:0;
}
.step-btn.minus{border:2px solid #e2e2e6;color:#555;background:#fff;}
.step-btn.plus{background:var(--brand);color:#fff;box-shadow:0 8px 18px rgba(24,156,216,0.3);}
.step-btn.off{opacity:0.4;pointer-events:none;}
.step-val{text-align:center;min-width:70px;}
.step-num{font-size:52px;font-weight:700;letter-spacing:-1px;line-height:1;}
.step-cap{font-size:12.5px;color:var(--muted2);margin-top:4px;}
.dots{display:flex;gap:6px;justify-content:center;margin-top:14px;}
.dots i{width:8px;height:8px;border-radius:99px;background:#d9dade;}
.dots i.on{background:var(--brand);}

.recap-card{
	background:var(--bg-white);
	border:1px solid var(--line);
	border-radius:var(--r-card);
	overflow:hidden;
	margin-top:4px;
}
.recap-row{
	display:flex;justify-content:space-between;gap:12px;
	padding:15px 18px;
	border-bottom:1px solid var(--line2);
	font-size:14px;
}
.recap-row:last-child{border-bottom:none;}
.recap-row span{color:var(--muted);}
.recap-row b{font-weight:700;text-align:right;}
.recap-row.hl{background:#F7FBFE;}
.pad-note{margin-top:14px;padding:0 4px;font-size:13px;}

/* ---------------- čekanje ---------------- */
.wait-head{text-align:center;padding-top:12px;}
.wait-kicker{font-size:13px;color:var(--brand-light);font-weight:600;text-transform:uppercase;letter-spacing:0.8px;}
.wait-title{font-size:25px;font-weight:700;letter-spacing:-0.4px;margin-top:8px;line-height:1.3;}
.wait-pill{
	display:inline-flex;align-items:center;gap:8px;margin-top:16px;
	background:rgba(255,255,255,0.07);
	border:1px solid rgba(255,255,255,0.12);
	border-radius:99px;padding:8px 16px;
	font-size:14px;color:rgba(255,255,255,0.7);
}
.checklist{flex:1;display:flex;flex-direction:column;justify-content:center;padding:20px 8px;}
.chk-step{display:flex;gap:16px;}
.chk-rail{display:flex;flex-direction:column;align-items:center;}
.chk-ico{
	width:30px;height:30px;border-radius:99px;flex-shrink:0;
	display:flex;align-items:center;justify-content:center;
	font-size:15px;font-weight:700;
	box-sizing:border-box;
}
.chk-ico.done{background:var(--ok-dark);color:var(--bg-dark);}
.chk-ico.spin{border:3px solid var(--brand);border-top-color:transparent;animation:ewSpin 1.1s linear infinite;}
.chk-ico.off{border:2px solid rgba(255,255,255,0.2);}
.chk-ico.active{border:2px solid var(--brand-light);}
.chk-line{width:2.5px;flex:1;background:rgba(255,255,255,0.15);margin:4px 0;min-height:24px;}
.chk-line.on{background:var(--ok-dark);}
.chk-txt{padding-bottom:30px;}
.chk-step:last-child .chk-txt{padding-bottom:0;}
.chk-t{font-size:16px;font-weight:700;}
.chk-t.done{color:var(--ok-dark);}
.chk-t.off{color:rgba(255,255,255,0.4);}
.chk-s{font-size:13px;color:rgba(255,255,255,0.5);margin-top:3px;}
@keyframes ewSpin{to{transform:rotate(360deg);}}
.warn-box{
	background:rgba(255,180,60,0.1);
	border:1px solid rgba(255,180,60,0.3);
	border-radius:14px;
	padding:13px 16px;
	font-size:13.5px;color:var(--warn-txt);line-height:1.5;
}
.warn-box.static{margin-top:8px;}
.ok-box{
	background:rgba(76,195,138,0.12);
	border:1px solid rgba(76,195,138,0.35);
	border-radius:14px;
	padding:13px 16px;
	font-size:14.5px;color:var(--ok-dark);font-weight:600;line-height:1.5;
}
.wait-result{padding:0 0 8px;}

/* ---------------- wallet preuzimanje ---------------- */
.wallet-status{
	margin-top:24px;
	background:rgba(255,255,255,0.06);
	border:1px solid rgba(255,255,255,0.12);
	border-radius:var(--r-card);
	padding:22px;
	font-size:16px;line-height:1.6;
	min-height:120px;
}
.lead-dark{font-size:16px;color:rgba(255,255,255,0.7);line-height:1.6;padding-top:20px;}

/* ---------------- modali ---------------- */
.modal{
	display:none;
	position:fixed;inset:0;
	z-index:1050;
	background:rgba(8,12,22,0.72);
	overflow-y:auto;
	padding:24px 16px;
	-webkit-backdrop-filter:blur(4px);
	backdrop-filter:blur(4px);
}
.modal.show{display:block;}
.modal-dialog{
	max-width:460px;
	margin:6vh auto 24px;
}
.modal-dialog.qr{max-width:420px;}
.modal-content{
	background:var(--bg-white);
	border-radius:var(--r-card);
	overflow:hidden;
	color:var(--txt);
}
.modal-content.bg-dark{
	background:#131D31;
	color:#fff;
	border:1px solid rgba(255,255,255,0.1);
}
.modal-header{
	display:flex;align-items:center;gap:12px;
	padding:16px 20px;
	border-bottom:1px solid rgba(128,138,158,0.18);
}
.modal-title{font-size:17px;font-weight:700;flex:1;}
.close{
	margin-left:auto;
	width:34px;height:34px;border-radius:12px;
	background:rgba(128,138,158,0.14);
	font-size:20px;line-height:1;
	color:inherit;
	display:flex;align-items:center;justify-content:center;
}
.modal-body{padding:18px 20px;font-size:15px;line-height:1.55;overflow-x:auto;}
.modal-footer{
	display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;
	padding:14px 20px;
	border-top:1px solid rgba(128,138,158,0.18);
}
.modal-btn-stack{display:flex;flex-direction:column;gap:10px;margin-top:12px;}
.modal-btn-stack .btn{width:100%;}

/* qr modal */
.qr-body{display:flex;flex-direction:column;align-items:center;}
#preview{width:100%;max-height:62vh;border-radius:14px;object-fit:cover;background:#000;}
#qr_result{font-size:12px;color:rgba(255,255,255,0.5);}

/* loading spinner */
#loading_spiner{background:rgba(8,12,22,0.55);}
.spinner-wrap{display:flex;justify-content:center;padding-top:34vh;}
.spinner{
	width:56px;height:56px;border-radius:99px;
	border:5px solid rgba(24,156,216,0.25);
	border-top-color:var(--brand);
	animation:ewSpin 0.9s linear infinite;
}

/* ============================================================
   LEGACY — stilovi za HTML fragmente koje vraća backend
   (fiskalni račun, pregled, fallback forme — bootstrap klase)
   ============================================================ */
.legacy,.modal-body{font-family:var(--font);}
.legacy{padding:20px 24px;}
.alert{border-radius:14px;padding:13px 16px;font-size:14px;line-height:1.5;margin:10px 0;}
.alert h3{font-size:17px;margin:0;}
.alert-danger{background:#FDECEC;border:1px solid #F5C2C2;color:#C0392B;}
.alert-success{background:#E7F5EC;border:1px solid #BFE5CE;color:var(--ok-light);}
.alert-info{background:rgba(24,156,216,0.08);border:1px solid rgba(24,156,216,0.3);color:var(--brand-dark);}
.alert-warning{background:#FFF6E5;border:1px solid #FFE0A3;color:#9A6B00;}
.alert-dark{background:rgba(128,138,158,0.12);border:1px solid rgba(128,138,158,0.3);color:inherit;}
.modal-content.bg-dark .alert-danger{background:rgba(224,49,49,0.12);border-color:rgba(224,49,49,0.4);color:#FF8787;}
.modal-content.bg-dark .alert-warning{background:rgba(255,180,60,0.1);border-color:rgba(255,180,60,0.3);color:var(--warn-txt);}
.modal-content.bg-dark .alert-dark{background:rgba(255,255,255,0.06);border-color:rgba(255,255,255,0.15);color:rgba(255,255,255,0.8);}

.btn{
	display:inline-flex;align-items:center;justify-content:center;gap:8px;
	min-height:48px;
	border-radius:var(--r-btn);
	padding:10px 18px;
	font-family:var(--font);
	font-size:15px;font-weight:600;
	text-decoration:none;
}
.btn-primary.btn,.btn.btn-primary{background:var(--brand);color:#fff;box-shadow:var(--shadow-brand);width:auto;height:auto;}
.btn.btn-secondary{background:rgba(128,138,158,0.16);color:inherit;}
.btn.btn-success{background:var(--ok-light);color:#fff;}
.btn.btn-info{background:var(--brand-dark);color:#fff;}
.btn.btn-warning{background:var(--warn);color:#40300a;}
.btn.btn-dark{background:var(--bg-dark);color:#fff;width:auto;height:auto;}
.btn.btn-sm{min-height:40px;font-size:14px;}
.legacy .btn{margin:6px 0;}

.row{display:flex;flex-wrap:wrap;}
.col{flex:1 0 0%;min-width:0;}
.col-4{flex:0 0 33.333%;max-width:33.333%;}
.col-5{flex:0 0 41.667%;max-width:41.667%;}
.col-7{flex:0 0 58.333%;max-width:58.333%;}
.col-sm-3{flex:0 0 100%;}
.col-sm-9{flex:0 0 100%;}
.container{width:100%;}
.justify-content-center{justify-content:center;}
.text-white{color:#fff;}
.text-dark{color:var(--txt);}
.bg-white{background:#fff;}
.text-danger,.err-txt{color:#E03131;}
.lead{font-size:16px;line-height:1.6;}
.border{border:1px solid var(--line);border-radius:14px;padding:12px;}
.form-check{display:flex;align-items:center;gap:8px;margin:6px 12px 6px 0;}
.form-control{
	width:100%;height:48px;border-radius:12px;
	border:1px solid rgba(128,138,158,0.4);
	background:rgba(255,255,255,0.06);
	color:inherit;
	font-family:var(--font);font-size:16px;
	padding:0 14px;outline:none;
}
.modal-content.bg-dark .form-control{background:rgba(255,255,255,0.08);color:#fff;}
.captcha-inp{max-width:220px;margin:12px auto;}
.captcha-img{display:block;margin:12px auto 0;border-radius:8px;}
.captcha_cont{text-align:center;}
.table-responsive{overflow-x:auto;}
table.table{width:100%;border-collapse:collapse;font-size:13.5px;}
.table th,.table td{padding:8px 10px;text-align:left;}
.table-bordered th,.table-bordered td{border:1px solid rgba(128,138,158,0.3);}
.table-striped tbody tr:nth-child(odd){background:rgba(128,138,158,0.08);}
.table-dark{color:inherit;}
dl.row{display:block;}
dl.row dt{font-size:12.5px;color:var(--muted);text-transform:uppercase;letter-spacing:0.4px;margin-top:10px;}
dl.row dd{margin:2px 0 0;}
dl.row h3{font-size:24px;font-weight:700;}
.d-flex{display:flex;}
.m-0{margin:0;}.p-0{padding:0;}.p-1{padding:4px;}.m-1{margin:4px;}.m-2{margin:8px;}.m-3{margin:12px;}
.mb-1{margin-bottom:4px;}.mb-3{margin-bottom:12px;}.mb-5{margin-bottom:24px;}
.mt-3{margin-top:12px;}.mr-3{margin-right:12px;}.ml-3{margin-left:12px;}.mt-12{margin-top:6px;}

@media (min-width:521px){
	body{box-shadow:0 0 60px rgba(0,0,0,0.25);}
}
