/* ============================================================
   B2B Агро Градина — брандови стилове (логин, регистрация)
   Зелено от логото: основно #217a36, тъмно #16532а, светло #e9f4ea
   ============================================================ */

/* ---------- ЛОГИН СТРАНИЦА (body.account-login) ---------- */

body.account-login {
	background: linear-gradient(115deg, #f6faf4 0%, #e9f3e6 55%, #d5e8cf 100%);
	min-height: 100vh;
	overflow-x: hidden;
}

/* самостоятелен екран: скриваме стандартния header/footer/трохи */
body.account-login header,
body.account-login footer,
body.account-login nav#top,
body.account-login .breadcrumb,
body.account-login #top-fixed,
body.account-login .sticky-header-1,
body.account-login #back-top,
body.account-login .b2b-banner {
	display: none !important;
}

/* ЛОГО ВЛЯВО / ВХОД ВДЯСНО — един екран, без скрол на десктоп */
.b2b-login-split {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	gap: 4vw;
	padding: 20px 5vw;
	box-sizing: border-box;
}

.b2b-login-left {
	flex: 0 1 520px;
	text-align: center;
}

.b2b-login-right {
	flex: 0 1 430px;
}

.b2b-login-logo img {
	max-width: 440px;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 10px 26px rgba(23, 74, 36, 0.22));
}

.b2b-login-slogan {
	margin-top: 18px;
	font-size: 19px;
	font-weight: 600;
	color: #16532a;
}

.b2b-login-card {
	background: #fff;
	border-radius: 16px;
	border-top: 5px solid #217a36;
	box-shadow: 0 22px 60px rgba(23, 74, 36, 0.16), 0 4px 14px rgba(23, 74, 36, 0.08);
	padding: 28px 32px 24px;
}

.b2b-login-card h1 {
	margin: 0 0 6px;
	font-size: 26px;
	font-weight: 700;
	color: #16532a;
	text-align: center;
}

.b2b-login-sub {
	text-align: center;
	color: #6d8a72;
	margin-bottom: 24px;
	font-size: 13px;
}

.b2b-login-card label {
	color: #3c5a44;
	font-weight: 600;
	font-size: 13px;
}

.b2b-login-card .input-group {
	margin-bottom: 16px;
}

.b2b-login-card .input-group-addon {
	background: #eef6ef;
	border-color: #cfe0cf;
	color: #217a36;
	min-width: 42px;
}

.b2b-login-card .form-control {
	height: 46px;
	font-size: 15px;
	border-color: #cfe0cf;
	border-radius: 0 6px 6px 0;
	box-shadow: none;
}

.b2b-login-card .form-control:focus {
	border-color: #217a36;
	box-shadow: 0 0 0 3px rgba(33, 122, 54, 0.12);
}

.b2b-btn-primary {
	display: block;
	width: 100%;
	background: #217a36;
	border: none;
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	padding: 13px;
	border-radius: 8px;
	margin-top: 6px;
	transition: background .15s ease, transform .1s ease;
}

.b2b-btn-primary:hover,
.b2b-btn-primary:focus {
	background: #185c28;
	color: #fff;
}

.b2b-btn-primary:active {
	transform: translateY(1px);
}

.b2b-login-forgot {
	display: block;
	text-align: center;
	margin-top: 14px;
	color: #217a36;
	font-size: 13px;
}

.b2b-login-forgot:hover {
	color: #16532a;
	text-decoration: underline;
}

.b2b-login-register {
	background: rgba(255, 255, 255, 0.72);
	border: 1px dashed #a9c9ab;
	border-radius: 12px;
	text-align: center;
	padding: 14px 20px;
	margin-top: 16px;
}

.b2b-login-register p {
	margin: 0 0 10px;
	color: #4a6650;
	font-weight: 600;
}

.b2b-btn-outline {
	display: inline-block;
	border: 2px solid #217a36;
	color: #217a36 !important;
	background: transparent;
	font-weight: 700;
	padding: 9px 22px;
	border-radius: 8px;
	transition: all .15s ease;
}

.b2b-btn-outline:hover {
	background: #217a36;
	color: #fff !important;
	text-decoration: none;
}

.b2b-login-features {
	display: flex;
	justify-content: center;
	gap: 26px;
	margin-top: 22px;
	text-align: center;
}

.b2b-login-features div {
	color: #4a6650;
	font-size: 12.5px;
	line-height: 1.35;
	max-width: 130px;
}

.b2b-login-features .fa {
	display: block;
	font-size: 22px;
	color: #217a36;
	margin-bottom: 6px;
}

.b2b-login-footer {
	text-align: center;
	color: #86a58c;
	font-size: 11.5px;
	margin-top: 14px;
}

.b2b-login-box .alert {
	border-radius: 8px;
	margin-bottom: 12px;
	padding: 10px 14px;
}

/* мобилно: лого отгоре, форма отдолу (там скролът е ок) */
@media (max-width: 900px) {
	.b2b-login-split {
		flex-direction: column;
		gap: 18px;
		padding: 26px 15px;
	}
	.b2b-login-left { flex: none; }
	.b2b-login-right { flex: none; width: 100%; max-width: 460px; }
	.b2b-login-logo img { max-width: 300px; }
	.b2b-login-slogan { font-size: 16px; }
	.b2b-login-features { gap: 14px; }
	.b2b-login-card { padding: 24px 20px; }
}

/* ---------- НАЧАЛНА СТРАНИЦА: приветствен банер ---------- */

.b2b-hero {
	background: linear-gradient(135deg, #1c6b30 0%, #2a8b42 60%, #37a050 100%);
	border-radius: 14px;
	padding: 30px 34px;
	margin: 18px 0 24px;
	color: #fff;
	box-shadow: 0 14px 36px rgba(23, 74, 36, 0.25);
}

.b2b-hero h1 {
	margin: 0 0 6px;
	font-size: 30px;
	font-weight: 700;
	color: #fff;
}

.b2b-hero p {
	margin: 0 0 4px;
	color: #d8ecd9;
	font-size: 15px;
}

.b2b-hero-welcome {
	margin-top: 12px !important;
	font-size: 14px !important;
}

.b2b-hero-actions {
	margin-top: 18px;
}

.b2b-hero-actions .btn {
	margin-right: 8px;
	margin-bottom: 6px;
}

.b2b-hero .b2b-btn-primary {
	background: #fff;
	color: #1c6b30 !important;
}

.b2b-hero .b2b-btn-primary:hover {
	background: #e9f4ea;
}

.b2b-hero .b2b-btn-outline {
	border-color: rgba(255, 255, 255, 0.85);
	color: #fff !important;
}

.b2b-hero .b2b-btn-outline:hover {
	background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 600px) {
	.b2b-hero { padding: 22px 20px; }
	.b2b-hero h1 { font-size: 22px; }
}

/* ---------- НОВИНИ: тийзър на началната ---------- */

.b2b-news-teaser {
	margin: 0 0 24px;
}

.b2b-news-teaser-head {
	font-weight: 700;
	color: #16532a;
	margin-bottom: 10px;
	font-size: 15px;
}

.b2b-news-teaser-head a {
	color: #217a36;
	font-weight: 400;
	font-size: 13px;
}

.b2b-news-card {
	background: #fff;
	border: 1px solid #dcebd6;
	border-radius: 10px;
	padding: 12px 14px;
	min-height: 92px;
	box-shadow: 0 3px 10px rgba(23, 74, 36, 0.06);
}

.b2b-news-title {
	font-weight: 600;
	color: #2c4633;
	margin: 6px 0 2px;
}

/* ---------- РЕГИСТРАЦИЯ (body.account-register) — самостоятелен екран ---------- */

body.account-register {
	background: linear-gradient(115deg, #f6faf4 0%, #e9f3e6 55%, #d5e8cf 100%);
	min-height: 100vh;
	overflow-x: hidden;
}

/* както при логина: без магазинарски хедър, меню, банери, трохи и футър */
body.account-register header,
body.account-register footer,
body.account-register nav#top,
body.account-register .breadcrumb,
body.account-register #column-left,
body.account-register #column-right,
body.account-register #top-fixed,
body.account-register .sticky-header-1,
body.account-register #back-top,
body.account-register .b2b-banner,
body.account-register .b2b-hero {
	display: none !important;
}

body.account-register #content {
	width: 100%;
	padding: 0;
	float: none;
}

.b2b-reg-wrap {
	max-width: 880px;
	margin: 0 auto;
	padding: 34px 16px 48px;
	box-sizing: border-box;
}

.b2b-reg-head {
	text-align: center;
	margin-bottom: 22px;
}

.b2b-reg-head img {
	max-width: 150px;
	width: 45%;
	height: auto;
	filter: drop-shadow(0 8px 20px rgba(23, 74, 36, 0.18));
}

.b2b-reg-head h1 {
	margin: 14px 0 5px;
	font-size: 33px;
	line-height: 1.15;
	font-weight: 700;
	color: #16532a;
}

.b2b-reg-head .b2b-reg-sub {
	color: #56765d;
	font-size: 15px;
	margin: 0;
}

/* за кого е порталът — единственият наситен панел на страницата, затова е акцентът */
.b2b-reg-audience {
	position: relative;
	background: linear-gradient(135deg, #1a6b2c 0%, #24803a 55%, #2e9448 100%);
	border-radius: 16px;
	padding: 22px 24px 24px;
	margin-top: 22px;
	box-shadow: 0 16px 38px rgba(20, 74, 34, .30), 0 3px 10px rgba(20, 74, 34, .18);
	overflow: hidden;
}

/* мек светлинен акцент горе вляво — дава обем, без да личи като ефект */
.b2b-reg-audience::before {
	content: '';
	position: absolute;
	top: -60%;
	left: -10%;
	width: 60%;
	height: 200%;
	background: radial-gradient(ellipse at center, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 65%);
	pointer-events: none;
}

.b2b-reg-audience h2 {
	position: relative;
	margin: 0 0 18px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}

.b2b-reg-audience ul {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}

.b2b-reg-audience li {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 9px;
	padding: 14px 6px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .10);
	border: 1px solid rgba(255, 255, 255, .18);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	backdrop-filter: blur(2px);
}

.b2b-reg-audience li .fa {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .95);
	color: #1a6b2c;
	font-size: 19px;
	box-shadow: 0 5px 12px rgba(0, 0, 0, .18), inset 0 -2px 0 rgba(0, 0, 0, .06);
}

/* ---------- СЛЕД УСПЕШНА ЗАЯВКА (body.account-success) ---------- */

body.account-success {
	background: linear-gradient(115deg, #f6faf4 0%, #e9f3e6 55%, #d5e8cf 100%);
	min-height: 100vh;
	overflow-x: hidden;
}

body.account-success header,
body.account-success footer,
body.account-success nav#top,
body.account-success .breadcrumb,
body.account-success #column-left,
body.account-success #column-right,
body.account-success #top-fixed,
body.account-success .sticky-header-1,
body.account-success #back-top,
body.account-success .b2b-banner,
body.account-success .b2b-hero {
	display: none !important;
}

body.account-success #content {
	width: 100%;
	padding: 0;
	float: none;
}

.b2b-done-card {
	background: #fff;
	border-radius: 16px;
	border-top: 5px solid #217a36;
	box-shadow: 0 22px 60px rgba(23, 74, 36, 0.16), 0 4px 14px rgba(23, 74, 36, 0.08);
	padding: 8px 30px 28px;
	margin-top: 4px;
	text-align: center;
}

.b2b-done-check {
	width: 68px;
	height: 68px;
	margin: -42px auto 16px;
	border-radius: 50%;
	background: #217a36;
	color: #fff;
	font-size: 32px;
	line-height: 68px;
	box-shadow: 0 0 0 6px #fff, 0 8px 22px rgba(33, 122, 54, .28);
}

.b2b-done-card h1 {
	margin: 0 0 6px;
	font-size: 25px;
	font-weight: 700;
	color: #16532a;
}

.b2b-done-sub {
	margin: 0 0 4px;
	color: #5d7d64;
	font-size: 14.5px;
}

.b2b-done-card .b2b-steps {
	text-align: left;
	margin-top: 26px;
}

.b2b-done-card .b2b-steps-list li {
	text-align: center;
}

/* изпълнената стъпка */
.b2b-steps-list li.is-done {
	background: #eef6ef;
	border-color: #bcd9c0;
}

.b2b-steps-list li.is-done .b2b-step-num {
	background: #1a6b2c;
	font-size: 11px;
}

.b2b-done-mail {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	text-align: left;
	background: #f7faf7;
	border: 1px solid #e2eee3;
	border-radius: 10px;
	padding: 13px 16px;
	margin-top: 22px;
	color: #4a6650;
	font-size: 13.5px;
	line-height: 1.5;
}

.b2b-done-mail .fa {
	color: #217a36;
	font-size: 19px;
	margin-top: 1px;
	flex: none;
}

/* насочване към магазина за крайни клиенти */
.b2b-reg-retail {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	background: #f2f7fb;
	border: 1px solid #cfdeea;
	border-left: 4px solid #3b7dd8;
	border-radius: 0 10px 10px 0;
	padding: 14px 18px;
	margin-top: 16px;
	color: #34495e;
	font-size: 13.5px;
	line-height: 1.55;
}

.b2b-reg-retail > .fa {
	color: #3b7dd8;
	font-size: 20px;
	margin-top: 2px;
	flex: none;
}

.b2b-reg-retail strong {
	display: block;
	color: #24425e;
	margin-bottom: 2px;
}

.b2b-reg-retail a:not(.b2b-btn-shop) {
	color: #2f68b8;
	font-weight: 700;
	text-decoration: underline;
	white-space: nowrap;
}

.b2b-reg-retail a:not(.b2b-btn-shop):hover {
	color: #1f4d8c;
}

/* бутон към магазина за крайни клиенти */
.b2b-btn-shop {
	display: flex;
	width: fit-content;
	align-items: center;
	gap: 9px;
	margin-top: 14px;
	padding: 11px 24px;
	border-radius: 999px;
	background: linear-gradient(180deg, #4f96e6 0%, #3b7dd8 52%, #2f6cc2 100%);
	border: 1px solid #2a63b4;
	color: #fff !important;
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: 0 4px 0 #27599f, 0 10px 22px rgba(47, 104, 184, .34), inset 0 1px 0 rgba(255, 255, 255, .35);
	position: relative;
	top: 0;
	transition: background .15s ease, box-shadow .15s ease, top .1s ease;
}

.b2b-btn-shop:hover,
.b2b-btn-shop:focus {
	background: linear-gradient(180deg, #5aa2f0 0%, #4587e2 52%, #3576cc 100%);
	box-shadow: 0 4px 0 #27599f, 0 13px 28px rgba(47, 104, 184, .42), inset 0 1px 0 rgba(255, 255, 255, .4);
	color: #fff !important;
}

.b2b-btn-shop:active {
	top: 3px;
	box-shadow: 0 1px 0 #27599f, 0 4px 10px rgba(47, 104, 184, .3), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.b2b-btn-shop .fa {
	font-size: 15px;
	opacity: .95;
}

/* грешка от проверката за сигурност (reCAPTCHA) */
.b2b-captcha-error {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #fdf3f2;
	border: 1px solid #e9c4c0;
	border-left: 4px solid #c0392b;
	border-radius: 0 10px 10px 0;
	padding: 14px 18px;
	margin: 18px 0 0;
	color: #6b2b23;
	font-size: 13.5px;
	line-height: 1.55;
}

.b2b-captcha-error > .fa {
	color: #c0392b;
	font-size: 19px;
	margin-top: 2px;
	flex: none;
}

.b2b-captcha-error strong {
	display: block;
	color: #8f2f22;
	margin-bottom: 2px;
}

.b2b-captcha-error a {
	color: #c0392b;
	font-weight: 700;
	white-space: nowrap;
}

/* три стъпки: какво следва */
.b2b-steps {
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid #edf3ed;
}

.b2b-steps h2 {
	margin: 0 0 20px;
	font-size: 16px;
	font-weight: 700;
	color: #16532a;
	text-align: center;
}

.b2b-steps-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	counter-reset: b2bstep;
}

.b2b-steps-list li {
	position: relative;
	background: #f7faf7;
	border: 1px solid #dceadd;
	border-radius: 12px;
	padding: 20px 14px 16px;
	text-align: center;
}

/* стрелка между стъпките */
.b2b-steps-list li:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -11px;
	width: 9px;
	height: 9px;
	border-top: 2px solid #b6d3ba;
	border-right: 2px solid #b6d3ba;
	transform: translateY(-50%) rotate(45deg);
	z-index: 1;
}

.b2b-step-num {
	position: absolute;
	top: -11px;
	left: 50%;
	transform: translateX(-50%);
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #217a36;
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 24px;
	box-shadow: 0 0 0 3px #fff;
}

.b2b-steps-list li > .fa {
	display: block;
	font-size: 26px;
	color: #217a36;
	margin: 6px 0 10px;
}

.b2b-steps-list strong {
	display: block;
	font-size: 14px;
	color: #24402c;
	margin-bottom: 3px;
}

.b2b-step-note {
	display: block;
	font-size: 12.5px;
	color: #6d8a72;
	line-height: 1.4;
}

.b2b-steps-foot {
	margin: 18px 0 0;
	text-align: center;
	font-size: 13.5px;
	color: #4a6650;
}

.b2b-steps-foot .fa {
	color: #217a36;
	margin-right: 4px;
}

.b2b-steps-foot a {
	color: #217a36;
	font-weight: 700;
	white-space: nowrap;
}

.b2b-steps-foot a:hover {
	text-decoration: underline;
}

/* бележка за одобрението */
.b2b-reg-note {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	background: #fffdf4;
	border: 1px solid #ecdfae;
	border-left: 4px solid #e0b93c;
	border-radius: 0 10px 10px 0;
	padding: 14px 18px;
	margin: 16px 0 0;
	color: #4a4223;
	font-size: 13.5px;
	line-height: 1.55;
}

.b2b-reg-note > .fa {
	color: #c9971f;
	font-size: 20px;
	margin-top: 2px;
	flex: none;
}

/* само първото изречение е на отделен ред; удебеляванията в текста остават в реда */
.b2b-reg-note > div > strong:first-child {
	display: block;
	color: #3d3617;
	margin-bottom: 2px;
}

.b2b-reg-note strong {
	color: #3d3617;
}

/* лепкав ориентир: докъде си стигнал в дългата форма */
.b2b-reg-progress {
	position: sticky;
	top: 0;
	z-index: 30;
	margin: 18px 0 0;
	padding: 10px 18px 11px;
	background: rgba(247, 251, 246, .95);
	backdrop-filter: blur(8px);
	border: 1px solid #d3e5d6;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(23, 74, 36, .09);
}

.b2b-prog-steps {
	display: flex;
	gap: 6px;
	margin-bottom: 9px;
}

.b2b-prog-step {
	flex: 1;
	text-align: center;
	font-size: 12.5px;
	font-weight: 600;
	color: #7d9a83;
	text-decoration: none;
	padding: 3px 2px;
	border-radius: 6px;
	transition: color .15s ease, background .15s ease;
	cursor: pointer;
}

.b2b-prog-step:hover {
	color: #217a36;
	background: rgba(33, 122, 54, .07);
	text-decoration: none;
}

.b2b-prog-step.is-active {
	color: #16532a;
	background: rgba(33, 122, 54, .11);
}

.b2b-prog-step.is-filled::before {
	content: '\f00c';
	font-family: FontAwesome;
	color: #3f9b55;
	font-size: 10px;
	margin-right: 5px;
}

.b2b-prog-track {
	height: 5px;
	border-radius: 999px;
	background: #e2eee4;
	overflow: hidden;
}

.b2b-prog-fill {
	display: block;
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: linear-gradient(90deg, #2a8b42, #3fae57);
	transition: width .25s ease;
}

.b2b-prog-label {
	margin-top: 7px;
	text-align: center;
	font-size: 12px;
	color: #6d8a72;
}

.b2b-prog-label strong {
	color: #16532a;
}

.b2b-reg-card {
	background: #fff;
	border-radius: 16px;
	border-top: 5px solid #217a36;
	box-shadow: 0 22px 60px rgba(23, 74, 36, 0.16), 0 4px 14px rgba(23, 74, 36, 0.08);
	padding: 8px 30px 26px;
	margin-top: 20px;
}

/* --- секции --- */
.b2b-reg-sec {
	padding: 22px 0 4px;
	border-top: 1px solid #edf3ed;
}

.b2b-reg-sec:first-child {
	border-top: none;
}

.b2b-reg-sec > h2 {
	font-size: 18px;
	font-weight: 700;
	color: #16532a;
	margin: 0 0 18px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.b2b-reg-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #217a36;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	flex: none;
}

/* --- решетка с полета: две колони на десктоп --- */
.b2b-reg-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 20px;
}

.b2b-reg-field.full {
	grid-column: 1 / -1;
}

.b2b-reg-field label {
	display: block;
	color: #24402c;
	font-weight: 600;
	font-size: 13.5px;
	letter-spacing: .1px;
	margin-bottom: 7px;
}

.b2b-reg-field label .req {
	color: #c0392b;
	margin-left: 2px;
}

.b2b-reg-field .form-control {
	height: 48px;
	width: 100%;
	color: #23342a;
	background: #f6faf6;
	border: 1.5px solid #8fb396;
	border-radius: 8px;
	box-shadow: none;
	padding: 6px 13px;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

/* Темата задава 12px на всички .form-control със селектор от 0,2,1.
   Затова тук е нужна по-висока специфичност - 16px спира и автоматичното
   увеличаване на страницата при фокус в iOS Safari. */
body.account-register .b2b-reg-field input.form-control,
body.account-register .b2b-reg-field select.form-control,
body.account-register .b2b-reg-field textarea.form-control {
	font-size: 16px;
}

.b2b-reg-field .form-control::placeholder {
	color: #6b8871;
	opacity: 1;
}

.b2b-reg-field select.form-control {
	padding-right: 30px;
}

.b2b-reg-field .form-control:hover {
	border-color: #b3d2b6;
}

.b2b-reg-field .form-control:focus {
	background: #fff;
	border-color: #217a36;
	box-shadow: 0 0 0 3px rgba(33, 122, 54, 0.18);
	outline: none;
}

/* попълнено и валидно */
.b2b-reg-field.is-ok .form-control {
	border-color: #3f9b55;
	background: #f4fbf5;
	padding-right: 40px;
}

.b2b-reg-field.is-ok {
	position: relative;
}

.b2b-reg-field.is-ok::after {
	content: '\f00c';
	font-family: FontAwesome;
	position: absolute;
	right: 14px;
	bottom: 15px;
	color: #3f9b55;
	font-size: 15px;
	pointer-events: none;
}

.b2b-reg-field.is-ok.has-hint::after {
	bottom: 38px;
}

/* при падащо меню отметката застава преди стрелката */
.b2b-reg-field.is-ok:has(select.form-control)::after {
	right: 36px;
}

.b2b-reg-hint {
	display: block;
	color: #7d947f;
	font-size: 12px;
	margin-top: 5px;
}

.b2b-reg-field .text-danger {
	display: block;
	margin-top: 5px;
	font-size: 12.5px;
	font-weight: 600;
}

/* поле с грешка */
.b2b-reg-field.has-error .form-control {
	border-color: #c0392b;
	background: #fdf6f5;
}

/* --- отметки --- */
.b2b-reg-check {
	grid-column: 1 / -1;
	background: #f7faf7;
	border: 1px solid #e2eee3;
	border-radius: 9px;
	padding: 12px 15px;
}

.b2b-reg-check label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-weight: 400;
	font-size: 13.5px;
	color: #3c5a44;
	cursor: pointer;
}

.b2b-reg-check input[type="checkbox"] {
	margin: 2px 0 0;
	width: 17px;
	height: 17px;
	flex: none;
	accent-color: #217a36;
	cursor: pointer;
}

/* --- долна лента: съгласие + бутон --- */
.b2b-reg-submit {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid #edf3ed;
}

.b2b-reg-agree {
	background: #fffdf4;
	border: 1px solid #ecdfae;
	border-radius: 9px;
	padding: 13px 16px;
	margin-bottom: 18px;
}

.b2b-reg-agree label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-weight: 400;
	font-size: 13.5px;
	color: #4a4223;
	cursor: pointer;
}

.b2b-reg-agree input[type="checkbox"] {
	margin: 2px 0 0;
	width: 17px;
	height: 17px;
	flex: none;
	accent-color: #217a36;
	cursor: pointer;
}

.b2b-reg-agree a {
	color: #217a36;
	font-weight: 600;
	text-decoration: underline;
}

.b2b-reg-submit .b2b-btn-primary {
	max-width: 340px;
	margin: 0 auto;
	font-size: 16.5px;
	padding: 14px;
}

.b2b-reg-back {
	text-align: center;
	margin-top: 20px;
	color: #5d7d64;
	font-size: 13.5px;
}

.b2b-reg-back a {
	color: #217a36;
	font-weight: 700;
}

.b2b-reg-back a:hover {
	color: #16532a;
	text-decoration: underline;
}

.b2b-reg-wrap .alert {
	border-radius: 9px;
	margin-bottom: 0;
	margin-top: 18px;
}

/* --- мобилно: една колона --- */
@media (max-width: 767px) {
	.b2b-reg-grid { grid-template-columns: 1fr; }
	.b2b-reg-card { padding: 4px 18px 22px; border-radius: 13px; }
	.b2b-reg-wrap { padding: 22px 12px 36px; }
	.b2b-reg-head img { max-width: 200px; }
	.b2b-reg-head h1 { font-size: 22px; }
	.b2b-reg-audience ul { grid-template-columns: repeat(2, 1fr); gap: 9px; }
	.b2b-reg-audience li { font-size: 12.5px; padding: 12px 6px 10px; }
	.b2b-reg-audience li .fa { width: 38px; height: 38px; font-size: 17px; }
	.b2b-reg-audience { padding: 18px 16px 20px; }
	.b2b-reg-progress { padding: 8px 12px 9px; border-radius: 10px; }
	.b2b-prog-step { font-size: 11px; }
	.b2b-prog-label { font-size: 11px; }
	.b2b-reg-head h1 { font-size: 24px; }
	.b2b-reg-head img { max-width: 120px; }
	.b2b-steps-list { grid-template-columns: 1fr; gap: 22px; }
	.b2b-steps-list li:not(:last-child)::after { top: auto; bottom: -16px; right: 50%; transform: translateX(50%) rotate(135deg); }
	.b2b-reg-audience { padding: 14px 14px 12px; }
	.b2b-reg-submit .b2b-btn-primary { max-width: none; }
}


/* 3D син бутон със светла сянка (Моите обекти в акаунта) */
.b2b-btn-3d,
.b2b-btn-3d:focus {
	color: #fff;
	background: linear-gradient(180deg, #4da3e0 0%, #2e7fc0 55%, #266ba3 100%);
	border: 1px solid #1f5c8f;
	border-radius: 6px;
	font-weight: 600;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .25);
	box-shadow: 0 4px 0 #1d567f, 0 6px 14px rgba(46, 127, 192, .35);
	position: relative;
	top: 0;
	transition: all .12s ease;
}

.b2b-btn-3d:hover {
	color: #fff;
	background: linear-gradient(180deg, #5bafe8 0%, #3389cc 55%, #2b76b1 100%);
	box-shadow: 0 4px 0 #1d567f, 0 8px 18px rgba(46, 127, 192, .45);
}

.b2b-btn-3d:active {
	color: #fff;
	top: 3px;
	box-shadow: 0 1px 0 #1d567f, 0 3px 6px rgba(46, 127, 192, .3);
}

/* =====================================================================
   Регистрация — населеното място от списъка (пакет 33)
   Полето с падащ списък (Bootstrap .dropdown-menu), номерът е в скрито поле;
   „Не намирам населеното си място" отваря отметката за свободен текст.
   ===================================================================== */
.b2b-city-box {
	position: relative;
}

.b2b-city-box .form-control {
	padding-right: 38px;
}

.b2b-city-icon {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #8fb396;
	font-size: 17px;
	pointer-events: none;
}

.b2b-city-field.is-picked .b2b-city-icon {
	color: #3f9b55;
}

/* отметката „попълнено" на полето е иконата отдясно — общата ::after тук не пасва */
.b2b-reg-field.b2b-city-field.is-ok::after {
	display: none;
}

.b2b-city-list {
	display: none;
	top: 100%;
	left: 0;
	min-width: 100%;
	width: max-content;
	max-width: 560px;
	max-height: 320px;
	overflow-y: auto;
	margin-top: 3px;
	padding: 4px 0;
	border-radius: 8px;
	border: 1px solid #cfe0d1;
	box-shadow: 0 8px 22px rgba(25, 60, 35, 0.16);
	z-index: 1050;
}

.b2b-city-list > li > a {
	padding: 9px 14px;
	font-size: 14px;
	color: #24402c;
	white-space: normal;
	line-height: 1.35;
}

.b2b-city-list > li.active > a,
.b2b-city-list > li > a:hover,
.b2b-city-list > li > a:focus {
	background: #e7f3e9;
	color: #17572a;
}

.b2b-city-list > li.b2b-city-none > span {
	display: block;
	padding: 9px 14px;
	font-size: 13px;
	color: #7a5d12;
	white-space: normal;
}

.b2b-city-picked:empty {
	display: none;
}

.b2b-city-picked {
	color: #2c7a41;
	font-weight: 600;
}

.b2b-city-free-link {
	display: inline-block;
	margin-top: 6px;
	font-size: 12.5px;
	color: #217a36;
	text-decoration: underline;
}

/* без JS отметката се вижда винаги (сървърът я чете); с JS — след линка или при грешка */
.b2b-city-js .b2b-city-free {
	display: none;
}

.b2b-city-js .b2b-city-free.is-open {
	display: block;
}

form:not(.b2b-city-js) .b2b-city-free-link {
	display: none;
}

.b2b-city-free {
	margin-top: 8px;
	background: #fffdf4;
	border: 1px solid #ecdfae;
	border-radius: 8px;
	padding: 9px 12px;
}

.b2b-city-free label {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 0;
	font-weight: 400;
	font-size: 13px;
	color: #5c4a14;
	cursor: pointer;
}

.b2b-city-free input[type="checkbox"] {
	margin: 2px 0 0;
	width: 17px;
	height: 17px;
	flex: none;
	accent-color: #217a36;
}

/* „Отговорното лице е МОЛ-ът" — скритите полета не заемат място */
.b2b-reg-field.b2b-is-hidden {
	display: none;
}

@media (max-width: 767px) {
	.b2b-city-list {
		width: 100%;
		max-width: none;
	}
}

/* ---------- НАЧАЛНА СТРАНИЦА: B2B табло (зеленият блок) ----------
 * Одобреният дизайн от 04.10.2026. Снимката с листата е само декорация отдясно — четимостта я държи
 * градиентът върху нея. Всичко е под .b2b-dashboard. Блокът е 857 px до лявото меню (≥1200), 707 px при
 * 992–1199, цялата ширина под 992 — затова прекъсванията са по стъпките на контейнера на темата. */

.b2b-dashboard {
	position: relative;
	width: 100%;
	min-height: 408px;
	box-sizing: border-box;
	overflow: hidden;
	margin: 14px 0 24px;
	padding: 30px 30px 30px;
	border-radius: 18px;
	color: #fff;
	background-color: #06702c;
	background-image:
		linear-gradient(90deg, rgba(3, 91, 34, .96) 0%, rgba(4, 112, 42, .91) 42%, rgba(9, 132, 50, .72) 70%, rgba(18, 151, 61, .30) 100%),
		url('../image/b2b/b2b-dashboard-bg.webp?v=20261004');
	background-position: center, right center;
	background-size: cover, cover;
	background-repeat: no-repeat;
	box-shadow: 0 16px 38px rgba(4, 72, 28, .16), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.b2b-dashboard__intro {
	position: relative;
	z-index: 2;
}

.b2b-dashboard__title {
	max-width: 690px;
	margin: 0;
	padding: 0;
	color: #fff;
	font-family: inherit;
	font-size: 29px;
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -.01em;
	text-transform: none;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .08);
	text-wrap: balance;
}

.b2b-dashboard__welcome {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin-top: 10px;
	color: rgba(255, 255, 255, .92);
	font-size: 17px;
	line-height: 1.3;
}

.b2b-dashboard__customer strong {
	color: #fff;
	font-weight: 700;
}

.b2b-dashboard__wholesale-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 30px;
	padding: 0 13px;
	border-radius: 999px;
	color: #16552d;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	background: linear-gradient(180deg, #e7f6d7 0%, #cfeeb7 100%);
	border: 1px solid rgba(255, 255, 255, .40);
	box-shadow: 0 2px 5px rgba(0, 60, 20, .12);
}

.b2b-dashboard__wholesale-badge .fa {
	color: #2c8a3f;
	font-size: 12px;
}

/* 6 основни бутона */
.b2b-dashboard__actions {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 8px;
	margin-top: 24px;
}

.b2b-dashboard__action {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	min-height: 64px;
	box-sizing: border-box;
	padding: 9px 7px 9px 9px;
	color: #173f25;
	text-decoration: none;
	background: linear-gradient(180deg, #ffffff 0%, #f1f8f2 100%);
	border: 1px solid rgba(255, 255, 255, .78);
	border-radius: 12px;
	box-shadow: 0 6px 14px rgba(2, 58, 21, .18), 0 1px 2px rgba(2, 58, 21, .10), inset 0 1px 0 rgba(255, 255, 255, .80);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.b2b-dashboard__action:hover,
.b2b-dashboard__action:focus {
	color: #173f25;
	text-decoration: none;
}

.b2b-dashboard__action:hover {
	transform: translateY(-2px);
	border-color: rgba(139, 216, 156, .90);
	background: linear-gradient(180deg, #ffffff 0%, #f7fcf8 100%);
	box-shadow: 0 10px 22px rgba(2, 58, 21, .24), 0 2px 5px rgba(2, 58, 21, .10), inset 0 1px 0 rgba(255, 255, 255, .90);
}

.b2b-dashboard__action:active {
	transform: translateY(0);
	box-shadow: 0 3px 7px rgba(2, 58, 21, .15), inset 0 2px 4px rgba(2, 58, 21, .08);
}

.b2b-dashboard__action-icon {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
	color: #fff;
	font-size: 16px;
	line-height: 1;
	background: linear-gradient(145deg, #1caf4c 0%, #078734 100%);
	box-shadow: 0 3px 8px rgba(0, 96, 34, .24), inset 0 1px 0 rgba(255, 255, 255, .20);
}

.b2b-dashboard__action-label {
	min-width: 0;
	color: #173f25;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.18;
	overflow-wrap: break-word;
}

/* 3 вторични връзки */
.b2b-dashboard__quick-links {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
}

.b2b-dashboard__quick-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	box-sizing: border-box;
	padding: 0 20px;
	border-radius: 999px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	background: linear-gradient(180deg, rgba(9, 105, 42, .48) 0%, rgba(4, 82, 31, .38) 100%);
	border: 1px solid rgba(255, 255, 255, .22);
	box-shadow: 0 5px 12px rgba(0, 45, 17, .16), inset 0 1px 0 rgba(255, 255, 255, .12);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.b2b-dashboard__quick-link:hover,
.b2b-dashboard__quick-link:focus {
	color: #fff;
	text-decoration: none;
}

.b2b-dashboard__quick-link:hover {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, .16);
	box-shadow: 0 7px 15px rgba(0, 45, 17, .19), inset 0 1px 0 rgba(255, 255, 255, .17);
}

.b2b-dashboard__quick-icon--star { color: #ffe88a; }
.b2b-dashboard__quick-icon--fire { color: #ffd084; }
.b2b-dashboard__quick-icon--gift { color: #ecf8e8; }

/* новините: две карти, отдясно остава място за листата */
.b2b-dashboard__news {
	position: relative;
	z-index: 2;
	width: 72%;
	max-width: 760px;
	margin-top: 24px;
}

.b2b-dashboard__news-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.b2b-dashboard__news-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	color: #fff;
	font-family: inherit;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
}

.b2b-dashboard__news-all {
	flex: 0 0 auto;
	color: rgba(255, 255, 255, .92);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.b2b-dashboard__news-all:hover,
.b2b-dashboard__news-all:focus {
	color: #fff;
	text-decoration: underline;
}

.b2b-dashboard__news-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 13px;
}

.b2b-dashboard__news-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	min-height: 132px;
	box-sizing: border-box;
	padding: 16px 18px;
	color: #173323;
	text-decoration: none;
	background: linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
	border: 1px solid rgba(255, 255, 255, .80);
	border-radius: 12px;
	box-shadow: 0 7px 18px rgba(0, 48, 18, .16), 0 1px 2px rgba(0, 48, 18, .08);
	transition: transform .18s ease, box-shadow .18s ease;
}

.b2b-dashboard__news-card:hover,
.b2b-dashboard__news-card:focus {
	color: #173323;
	text-decoration: none;
}

.b2b-dashboard__news-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 11px 24px rgba(0, 48, 18, .21), 0 2px 5px rgba(0, 48, 18, .08);
}

.b2b-dashboard__news-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border-radius: 4px;
	color: #fff;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1;
}

.b2b-dashboard__news-badge--calendar { background: #4fc1e8; }
.b2b-dashboard__news-badge--news { background: #52bd61; }

.b2b-dashboard__news-card-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin: 10px 0 8px;
	color: #173323;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.35;
}

.b2b-dashboard__news-date {
	margin-top: auto;
	color: #7c857f;
	font-size: 13px;
	line-height: 1.2;
}

/* фокус от клавиатурата — бял контур навън (върху зеленото се вижда) */
.b2b-dashboard a:focus-visible {
	outline: 3px solid rgba(255, 255, 255, .88);
	outline-offset: 3px;
}

.b2b-dashboard a:focus:not(:focus-visible) {
	outline: none;
}

/* 992–1199 (блокът ~707 px) и 768–991 (цялата ширина): 3 × 2 */
@media (max-width: 1199px) {
	.b2b-dashboard {
		min-height: 0;
	}
	.b2b-dashboard__title {
		font-size: 26px;
	}
	.b2b-dashboard__actions {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
	}
	.b2b-dashboard__action {
		gap: 10px;
		padding: 10px 12px;
	}
	.b2b-dashboard__action-icon {
		flex-basis: 40px;
		width: 40px;
		height: 40px;
		border-radius: 10px;
		font-size: 19px;
	}
	.b2b-dashboard__action-label {
		font-size: 14.5px;
	}
	.b2b-dashboard__news {
		width: 85%;
	}
}

/* телефон: 2 × 3, връзките една под друга, новините една под друга */
@media (max-width: 767px) {
	.b2b-dashboard {
		padding: 24px 18px;
		border-radius: 15px;
		background-image:
			linear-gradient(90deg, rgba(3, 91, 34, .97) 0%, rgba(4, 112, 42, .93) 65%, rgba(9, 132, 50, .72) 100%),
			url('../image/b2b/b2b-dashboard-bg.webp?v=20261004');
		background-position: center, 65% center;
	}
	.b2b-dashboard__title {
		font-size: 22px;
	}
	.b2b-dashboard__welcome {
		font-size: 15px;
	}
	.b2b-dashboard__actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-top: 20px;
	}
	.b2b-dashboard__action {
		min-height: 60px;
		padding: 9px 10px;
	}
	.b2b-dashboard__action-icon {
		flex-basis: 36px;
		width: 36px;
		height: 36px;
		font-size: 17px;
	}
	.b2b-dashboard__action-label {
		font-size: 14px;
	}
	.b2b-dashboard__quick-links {
		flex-direction: column;
		align-items: stretch;
		gap: 9px;
	}
	.b2b-dashboard__quick-link {
		justify-content: flex-start;
	}
	.b2b-dashboard__news {
		width: 100%;
	}
	.b2b-dashboard__news-header {
		align-items: flex-end;
	}
	.b2b-dashboard__news-title {
		font-size: 17px;
	}
	.b2b-dashboard__news-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	.b2b-dashboard__news-card {
		min-height: 0;
	}
}

/* много тесен телефон: бутоните един под друг */
@media (max-width: 359px) {
	.b2b-dashboard__actions {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.b2b-dashboard__action,
	.b2b-dashboard__quick-link,
	.b2b-dashboard__news-card {
		transition: none;
	}
	.b2b-dashboard__action:hover,
	.b2b-dashboard__quick-link:hover,
	.b2b-dashboard__news-card:hover {
		transform: none;
	}
}
