.s24-auth.s24-b2b-auth {
	max-width: 760px;
}

.s24-auth.s24-b2b-auth .s24-auth-panel {
	padding: 34px 38px;
}

.s24-auth.s24-b2b-auth input[type="text"],
.s24-auth.s24-b2b-auth input[type="email"],
.s24-auth.s24-b2b-auth input[type="tel"],
.s24-auth.s24-b2b-auth input[type="number"],
.s24-auth.s24-b2b-auth input[type="password"],
.s24-auth.s24-b2b-auth textarea,
.s24-auth.s24-b2b-auth select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var( --gray, rgba( 0, 0, 0, .15 ) );
	border-radius: 8px;
	font: inherit;
	font-size: var( --font-md, 15px );
	line-height: 1.4;
	color: inherit;
	background-color: #fff;
	transition: border-color .2s;
	box-sizing: border-box;
}

.s24-auth.s24-b2b-auth input[type="text"]:focus,
.s24-auth.s24-b2b-auth input[type="email"]:focus,
.s24-auth.s24-b2b-auth input[type="tel"]:focus,
.s24-auth.s24-b2b-auth input[type="number"]:focus,
.s24-auth.s24-b2b-auth input[type="password"]:focus,
.s24-auth.s24-b2b-auth textarea:focus,
.s24-auth.s24-b2b-auth select:focus {
	border-color: var( --primary, #6fb98f );
	outline: none;
}

.s24-auth.s24-b2b-auth textarea {
	min-height: 92px;
	resize: vertical;
}

.s24-auth.s24-b2b-auth input[type="checkbox"],
.s24-auth.s24-b2b-auth input[type="radio"] {
	width: auto;
	padding: 0;
}

.s24-b2b-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.s24-b2b-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 18px;
}

.s24-b2b-grid > .form-row {
	min-width: 0;
}

@media ( max-width: 600px ) {
	.s24-b2b-grid {
		grid-template-columns: 1fr;
	}

	.s24-auth.s24-b2b-auth .s24-auth-panel {
		padding: 24px 20px;
	}
}

.s24-auth.s24-b2b-auth .s24-b2b-checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-weight: 400;
	font-size: var( --font-md, 15px );
	margin-bottom: 0;
	cursor: pointer;
}

.s24-b2b-checkbox input {
	margin-top: 3px;
	flex: 0 0 auto;
	width: auto;
}

.s24-b2b-error {
	display: block;
	margin-top: 5px;
	color: #d63638;
	font-size: .85em;
}

.s24-b2b-auth .required {
	color: #d63638;
}

.s24-auth.s24-b2b-auth .s24-b2b-type-options {
	display: flex;
	gap: 22px;
	margin-top: 2px;
}

.s24-auth.s24-b2b-auth .s24-b2b-type-option {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 400;
	margin-bottom: 0;
	cursor: pointer;
}

.s24-b2b-type-option input {
	width: auto;
	margin: 0;
}

.s24-b2b-consent-text {
	max-height: 160px;
	overflow-y: auto;
	padding: 14px 16px;
	margin-bottom: 16px;
	border: 1px solid var( --gray, rgba( 0, 0, 0, .15 ) );
	border-radius: 8px;
	font-size: .88em;
	line-height: 1.6;
	background: #fafafa;
}

.s24-b2b-consent-text p:last-child {
	margin-bottom: 0;
}

.s24-b2b-status-wrap {
	max-width: 640px;
	margin: 0 auto;
}

.s24-b2b-status-table th {
	text-align: left;
	width: 40%;
}

.s24-b2b-apply-link {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var( --gray, rgba( 0, 0, 0, .12 ) );
	text-align: center;
}

.s24-b2b-apply-link p {
	margin-bottom: 10px;
}

.s24-b2b-price del {
	opacity: .6;
	margin-inline-end: .4rem;
}

.s24-b2b-badge {
	display: inline-block;
	padding: .15em .5em;
	border-radius: .25rem;
	background: var( --primary, #0f766e );
	color: #fff;
	font-size: .75em;
	line-height: 1.6;
}

.s24-b2b-badge--pending { background: #b26a00; }
.s24-b2b-badge--rejected { background: #8a8a8a; }

.s24-b2b-filters {
	margin-bottom: 1.5rem;
}

.s24-b2b-filter-group {
	border: 0;
	padding: 0;
	margin: 0 0 1rem;
}

.s24-b2b-filter-group legend {
	font-weight: 600;
	margin-bottom: .35rem;
}

.s24-b2b-filter-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 240px;
	overflow-y: auto;
}

.s24-b2b-filter-list li {
	margin-bottom: .2rem;
}

.s24-b2b-filter-count {
	opacity: .6;
	font-size: .85em;
}

.s24-b2b-filter-price {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.s24-b2b-filter-price input {
	width: 7rem;
}

.s24-b2b-filter-note {
	font-size: .8em;
	opacity: .7;
	margin: .35rem 0 0;
}

.s24-b2b-eft {
	margin-top: 1.5rem;
}

.s24-b2b-eft-accounts {
	list-style: none;
	margin: 0;
	padding: 0;
}

.s24-b2b-eft-account {
	padding: .75rem 1rem;
	margin-bottom: .5rem;
	border: 1px solid rgba( 0, 0, 0, .12 );
	border-radius: .375rem;
	display: flex;
	flex-direction: column;
	gap: .15rem;
}

.s24-b2b-eft-iban {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	letter-spacing: .04em;
}

.s24-b2b-grid > .form-row:last-child:nth-child( odd ) {
	grid-column: 1 / -1;
}

.s24-b2b-consent-link {
	text-decoration: underline;
	font-weight: 500;
}

.s24-b2b-consent-link:hover {
	color: var( --primary, #6fb98f );
}

.s24-b2b-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba( 0, 0, 0, .55 );
}

body.s24-b2b-modal-open {
	overflow: hidden;
}

.s24-b2b-modal-box {
	background: #fff;
	border-radius: 16px;
	width: 100%;
	max-width: 680px;
	max-height: 82vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba( 0, 0, 0, .25 );
}

.s24-b2b-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 24px;
	border-bottom: 1px solid var( --gray, rgba( 0, 0, 0, .12 ) );
}

.s24-b2b-modal-head h3 {
	margin: 0;
	font-size: var( --font-lg, 17px );
}

.s24-b2b-modal-close {
	background: none;
	border: 0;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #888;
	padding: 0 4px;
}

.s24-b2b-modal-close:hover {
	color: var( --primary, #6fb98f );
}

.s24-b2b-modal-body {
	padding: 22px 24px;
	overflow-y: auto;
	font-size: .95em;
	line-height: 1.7;
}

.s24-b2b-modal-body p:last-child {
	margin-bottom: 0;
}

.s24-b2b-gate {
	border: 1px solid var( --gray, rgba( 0, 0, 0, .12 ) );
	border-radius: 16px;
	padding: 22px 24px;
	margin-bottom: 22px;
	background: #fafafa;
}

.s24-b2b-gate-head {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 8px;
}

.s24-b2b-gate-head i {
	color: var( --primary, #6fb98f );
	font-size: 1.1em;
}

.s24-b2b-gate-title {
	font-weight: 600;
	font-size: var( --font-lg, 17px );
}

.s24-b2b-gate-text {
	margin: 0 0 16px;
	color: #666;
	font-size: var( --font-md, 15px );
	line-height: 1.6;
}

.s24-b2b-gate-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.s24-b2b-gate-actions .button {
	margin: 0;
}

.s24-b2b-gate-secondary {
	background: transparent !important;
	color: var( --secondary, #212121 ) !important;
	border: 1px solid var( --gray, rgba( 0, 0, 0, .2 ) ) !important;
}
