/* =============================================================================
   Octobyte B2B Manager — frontend storefront forms
   Rebuilt v1.5.0 with enterprise minimalism (Stripe / Linear inspired):
   - Hairline 1px borders, generous whitespace, system-quality typography
   - Underline tabs, dark navy primary buttons, subtle focus rings
   - Scoped under .octobyte-b2b-registration so theme cascades stay isolated
   ============================================================================= */

.octobyte-b2b-registration {
	/* Color tokens — neutral grayscale with a single accent */
	--b2b-bg:            #ffffff;
	--b2b-bg-subtle:     #fafafa;
	--b2b-bg-sunken:     #f5f5f7;
	--b2b-border:        #e6e6e6;
	--b2b-border-strong: #d4d4d8;
	--b2b-border-focus:  var(--btn-accented-bgcolor, #0a2540);

	--b2b-text:          #0a0e1a;
	--b2b-text-soft:     #3a3f56;
	--b2b-text-muted:    #6b7280;
	--b2b-text-faint:    #9ca3af;

	/* Accent + primary adopt the active theme's accented-button colours
	   (Woodmart: honey gold + ink); the hardcoded values are the fallback for
	   themes that don't expose those variables. */
	--b2b-accent:        var(--btn-accented-bgcolor-hover, #635bff);  /* links, focus accents */
	--b2b-accent-hover:  var(--btn-accented-bgcolor-hover, #524bd6);
	--b2b-accent-soft:   rgba(99, 91, 255, 0.16);

	--b2b-primary:       var(--btn-accented-bgcolor, #0a2540);
	--b2b-primary-hover: var(--btn-accented-bgcolor-hover, #16314f);
	--b2b-primary-text:  #ffffff;

	/* Shared brand tokens (also used by the intro/benefits column). */
	--b2b-brand:         var(--btn-accented-bgcolor-hover, #635bff);
	--b2b-ink:           var(--btn-accented-bgcolor, #0a2540);

	--b2b-error:         #b42318;
	--b2b-error-soft:    #fef3f2;
	--b2b-error-border:  #fecdca;
	--b2b-success:       #027a48;
	--b2b-success-soft:  #ecfdf3;
	--b2b-success-border:#abefc6;
	--b2b-warning:       #b54708;
	--b2b-warning-soft:  #fffaeb;
	--b2b-warning-border:#fedf89;
	--b2b-info:          #175cd3;
	--b2b-info-soft:     #eff8ff;
	--b2b-info-border:   #b2ddff;

	/* Geometry */
	--b2b-radius:        12px;
	--b2b-radius-sm:     6px;
	--b2b-radius-xs:     4px;

	/* Shadows — soft, single-direction, never above 0.08 alpha */
	--b2b-shadow-card:   0 1px 2px rgba(10, 14, 26, 0.04), 0 1px 3px rgba(10, 14, 26, 0.06);
	--b2b-shadow-input:  inset 0 1px 1px rgba(10, 14, 26, 0.02);
	--b2b-shadow-focus:  0 0 0 3px rgba(10, 14, 26, 0.12);
	--b2b-shadow-btn:    0 1px 1px rgba(10, 14, 26, 0.06), 0 1px 2px rgba(10, 14, 26, 0.06);

	display: block;
	box-sizing: border-box;
	max-width: 480px;
	margin: 2rem auto;
	padding: 2rem;
	background: var(--b2b-bg);
	border: 1px solid var(--b2b-border);
	border-radius: var(--b2b-radius);
	box-shadow: var(--b2b-shadow-card);
	color: var(--b2b-text);
	font: inherit;
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.octobyte-b2b-registration *,
.octobyte-b2b-registration *::before,
.octobyte-b2b-registration *::after {
	box-sizing: border-box;
}

/* Inherit theme font everywhere — never override with system stack. */
.octobyte-b2b-registration,
.octobyte-b2b-registration * {
	font-family: inherit !important;
}

/* ---------- Notice variant (pending / rejected / already-customer) ---------- */

.octobyte-b2b-registration--notice {
	text-align: center;
	padding: 3rem 2.5rem;
}

.octobyte-b2b-registration--notice h2 {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--b2b-text);
}

.octobyte-b2b-registration--notice p {
	margin: 0 0 1rem;
	color: var(--b2b-text-muted);
	font-size: 0.9375rem;
}

/* ---------- Honeypot ---------- */

.octobyte-b2b-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* =============================================================================
   Combined Auth shortcode — [b2b_auth_form]
   One page, two tabs. The root is the same two-column stage as the registration
   page (.octobyte-b2b-reg-layout); the card on the right carries the tabs and
   both panels. Card-style / tab-style knobs live on the root as data-attributes.
   ============================================================================= */
.octobyte-b2b-auth__card {
	position: relative;
}

/* Card style variants (data-card-style on root) */
.octobyte-b2b-auth[data-card-style="flat"] .octobyte-b2b-auth__card {
	border: 0;
	box-shadow: none;
	background: transparent;
	padding: 1.5rem 0;
}

.octobyte-b2b-auth[data-card-style="elevated"] .octobyte-b2b-auth__card {
	border: 0;
	box-shadow:
		0 1px 2px rgba(10, 14, 26, 0.04),
		0 8px 24px rgba(10, 14, 26, 0.08),
		0 24px 48px rgba(10, 14, 26, 0.05);
}

/* Logo block — sits above the tabs */
.octobyte-b2b-auth__logo {
	margin: 0 0 1.25rem;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.octobyte-b2b-auth__logo img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 40px;
	height: auto;
}

/* Tab control — full-width segmented pill inside the card. */
.octobyte-b2b-auth__tabs {
	display: flex;
	gap: 0.125rem;
	margin: 0 0 1.5rem;
	padding: 0.1875rem;
	background: var(--b2b-bg-sunken);
	border: 1px solid var(--b2b-border);
	border-radius: var(--b2b-radius-sm);
	width: 100%;
	box-sizing: border-box;
}

.octobyte-b2b-auth__tab {
	flex: 1 1 0;
	background: transparent;
	border: 0;
	border-radius: var(--b2b-radius-xs);
	color: var(--b2b-text-muted);
	cursor: pointer;
	font: inherit;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	padding: 0.5625rem 0.875rem !important;
	margin: 0;
	text-align: center;
	transition: background-color 140ms ease, color 140ms ease;
	letter-spacing: -0.005em;
	text-transform: none;
	line-height: 1.3;
	white-space: nowrap;
}

.octobyte-b2b-auth__tab:hover {
	color: var(--b2b-text-soft);
}

.octobyte-b2b-auth__tab.is-active {
	background: var(--b2b-bg);
	color: var(--b2b-text);
	font-weight: 600 !important;
	box-shadow: 0 1px 2px rgba(10, 14, 26, 0.06);
}

.octobyte-b2b-auth__tab:focus-visible {
	outline: 2px solid var(--b2b-accent);
	outline-offset: -1px;
}

/* Underline tab variant — opt-in via data-tab-style="underline" */
.octobyte-b2b-auth[data-tab-style="underline"] .octobyte-b2b-auth__tabs {
	gap: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--b2b-border);
	border-radius: 0;
	margin-bottom: 1.75rem;
}

.octobyte-b2b-auth[data-tab-style="underline"] .octobyte-b2b-auth__tab {
	position: relative;
	flex: 0 0 auto;
	margin: 0 1.5rem 0 0;
	padding: 0.625rem 0 !important;
	font-size: 0.9375rem !important;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.octobyte-b2b-auth[data-tab-style="underline"] .octobyte-b2b-auth__tab::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: transparent;
	transition: background-color 140ms ease;
}

.octobyte-b2b-auth[data-tab-style="underline"] .octobyte-b2b-auth__tab.is-active {
	background: transparent;
	color: var(--b2b-text);
	box-shadow: none;
}

.octobyte-b2b-auth[data-tab-style="underline"] .octobyte-b2b-auth__tab.is-active::after {
	background: var(--b2b-text);
}

/* Panels: the active one fades in; the other is removed from the tab order. */
.octobyte-b2b-auth__panel {
	display: none;
}

.octobyte-b2b-auth__panel.is-active {
	display: block;
	animation: octobyte-b2b-auth-panel 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes octobyte-b2b-auth-panel {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.octobyte-b2b-auth__panel.is-active {
		animation: none;
	}
}

/* Strip card chrome from the nested standalone wrappers — the auth card is
   the surface; we don't want a double-stacked card. */
.octobyte-b2b-auth__panel > .octobyte-b2b-registration,
.octobyte-b2b-auth__panel > .octobyte-b2b-login {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
}

/* The nested login title is redundant under the outer tabs; the cross links
   ("Έχω ήδη λογαριασμό", "Δεν έχετε λογαριασμό;") stay and switch tabs. */
.octobyte-b2b-auth__panel .octobyte-b2b-login__title {
	display: none !important;
}

/* =============================================================================
   Form layout
   ============================================================================= */

.octobyte-b2b-form {
	display: flex;
	flex-direction: column;
	gap: 1.125rem;
}

.octobyte-b2b-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.125rem 1rem;
}

@media (max-width: 560px) {
	.octobyte-b2b-form__grid {
		grid-template-columns: 1fr;
	}
}

/* Fields that should always span the full row */
.octobyte-b2b-field--email,
.octobyte-b2b-field--company,
.octobyte-b2b-field--consent,
.octobyte-b2b-field--privacy,
.octobyte-b2b-field--full {
	grid-column: 1 / -1;
}

/* Email inline check feedback — mirrors the VAT feedback styling. */
.octobyte-b2b-registration .octobyte-b2b-email-feedback {
	margin: 0.35rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	min-height: 0;
}

.octobyte-b2b-registration .octobyte-b2b-email-feedback:empty {
	display: none;
}

.octobyte-b2b-registration .octobyte-b2b-email-feedback.is-pending { color: var(--b2b-text-muted); }
.octobyte-b2b-registration .octobyte-b2b-email-feedback.is-success {
	color: var(--b2b-success);
	font-weight: 500;
}
.octobyte-b2b-registration .octobyte-b2b-email-feedback.is-error {
	color: var(--b2b-error);
	font-weight: 500;
}

.octobyte-b2b-field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	min-width: 0;
}

.octobyte-b2b-field label,
.octobyte-b2b-registration .octobyte-b2b-field label,
.octobyte-b2b-registration .octobyte-b2b-field > label {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 0.8125rem !important;
	font-weight: 500 !important;
	color: var(--b2b-text) !important;
	letter-spacing: -0.005em;
	line-height: 1.4 !important;
	text-transform: none !important;
	display: inline-block;
}

.octobyte-b2b-required {
	color: var(--b2b-text-muted);
	font-weight: 400;
	margin-left: 0.2rem;
}

/* ---------- Inputs ---------- */

.octobyte-b2b-registration .octobyte-b2b-input,
.octobyte-b2b-registration input.octobyte-b2b-input,
.octobyte-b2b-registration select.octobyte-b2b-input,
.octobyte-b2b-registration textarea.octobyte-b2b-input {
	width: 100% !important;
	min-height: 40px !important;
	padding: 0.5625rem 0.75rem !important;
	background: var(--b2b-bg) !important;
	background: #ffffff !important;
	border: 1px solid var(--b2b-border) !important;
	border: 1px solid #e6e6e6 !important;
	border-radius: var(--b2b-radius-sm) !important;
	border-radius: 6px !important;
	font: inherit !important;
	font-size: 0.9375rem !important;
	line-height: 1.4 !important;
	color: var(--b2b-text);
	color: #0a0e1a;
	box-shadow: var(--b2b-shadow-input) !important;
	box-shadow: inset 0 1px 1px rgba(10, 14, 26, 0.02) !important;
	transition: border-color 140ms ease, box-shadow 140ms ease;
	display: block !important;
	box-sizing: border-box !important;
	appearance: none;
	-webkit-appearance: none;
}

.octobyte-b2b-registration textarea.octobyte-b2b-input {
	min-height: 88px !important;
	padding: 0.625rem 0.75rem !important;
	resize: vertical;
}

.octobyte-b2b-registration .octobyte-b2b-input::placeholder {
	color: var(--b2b-text-faint);
	opacity: 1;
}

.octobyte-b2b-registration .octobyte-b2b-input:hover {
	border-color: var(--b2b-border-strong) !important;
	border-color: #d4d4d8 !important;
}

.octobyte-b2b-registration .octobyte-b2b-input:focus,
.octobyte-b2b-registration .octobyte-b2b-input:focus-visible {
	border-color: var(--b2b-accent) !important;
	border-color: #635bff !important;
	box-shadow: var(--b2b-shadow-focus) !important;
	box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.18) !important;
	outline: none !important;
}

/* Native select chevron — minimal SVG */
.octobyte-b2b-registration select.octobyte-b2b-input {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-position: right 0.75rem center !important;
	background-repeat: no-repeat !important;
	background-size: 12px 8px !important;
	padding-right: 2.25rem !important;
}

.octobyte-b2b-field__help {
	margin: 0;
	padding: 0;
	font-size: 0.8125rem;
	color: var(--b2b-text-muted);
	line-height: 1.5;
}

.octobyte-b2b-field__error {
	margin: 0.4rem 0 0;
	padding: 0.5rem 0.625rem;
	font-size: 0.8125rem;
	color: var(--b2b-error);
	background: var(--b2b-error-soft);
	border: 1px solid var(--b2b-error-border);
	border-radius: var(--b2b-radius-sm);
	line-height: 1.5;
}

.octobyte-b2b-field--error .octobyte-b2b-input {
	border-color: var(--b2b-error) !important;
	box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12) !important;
}

/* ---------- VAT inline check button — overlaid as a right-aligned chip
   inside the input, Stripe-style. The input gets extra right padding so the
   text doesn't sit underneath the button. ---------- */

.octobyte-b2b-registration .octobyte-b2b-input-group {
	position: relative;
	display: block;
}

.octobyte-b2b-registration .octobyte-b2b-input-group .octobyte-b2b-input {
	padding-right: 96px !important;
}

.octobyte-b2b-registration .octobyte-b2b-input-action {
	position: absolute !important;
	top: 50% !important;
	right: 4px !important;
	transform: translateY(-50%) !important;
	height: 30px !important;
	min-height: 0 !important;
	padding: 0 0.625rem !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: var(--b2b-radius-xs) !important;
	color: var(--b2b-text-muted) !important;
	font: inherit !important;
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.02em;
	white-space: nowrap !important;
	cursor: pointer !important;
	box-shadow: none !important;
	transition: background-color 140ms ease, color 140ms ease;
	text-transform: none;
}

.octobyte-b2b-registration .octobyte-b2b-input-action::before {
	/* Tiny leading separator line — keeps the chip visually attached to the
	   input but distinct from the user's typed value. */
	content: '';
	position: absolute;
	top: 6px;
	bottom: 6px;
	left: 0;
	width: 1px;
	background: var(--b2b-border);
}

.octobyte-b2b-registration .octobyte-b2b-input-action:hover,
.octobyte-b2b-registration .octobyte-b2b-input-action:focus-visible {
	background: var(--b2b-bg-sunken) !important;
	color: var(--b2b-text) !important;
	outline: none;
}

.octobyte-b2b-registration .octobyte-b2b-input-action.is-loading {
	opacity: 0.55;
	cursor: progress;
}

.octobyte-b2b-registration .octobyte-b2b-vat-feedback {
	margin: 0.35rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	min-height: 0;
}

.octobyte-b2b-registration .octobyte-b2b-vat-feedback:empty {
	display: none;
}

.octobyte-b2b-registration .octobyte-b2b-vat-feedback.is-pending { color: var(--b2b-text-muted); }
.octobyte-b2b-registration .octobyte-b2b-vat-feedback.is-success {
	color: var(--b2b-success);
	font-weight: 500;
}
.octobyte-b2b-registration .octobyte-b2b-vat-feedback.is-error {
	color: var(--b2b-error);
	font-weight: 500;
}

/* Diagnostics panel (admin-only — shown when AJAX response includes raw SOAP
   request/response for AADE troubleshooting). */
.octobyte-b2b-registration .octobyte-b2b-vat-diagnostics {
	margin: 0.5rem 0 0;
	padding: 0;
	font-size: 0.75rem;
	color: var(--b2b-text-muted);
}

.octobyte-b2b-registration .octobyte-b2b-vat-diagnostics summary {
	display: inline-block;
	padding: 0.25rem 0.5rem;
	background: var(--b2b-bg-sunken);
	border: 1px solid var(--b2b-border);
	border-radius: var(--b2b-radius-xs);
	cursor: pointer;
	color: var(--b2b-text-soft);
	font-weight: 500;
	list-style: none;
	-webkit-user-select: none;
	user-select: none;
	transition: border-color 140ms ease, background-color 140ms ease;
}

.octobyte-b2b-registration .octobyte-b2b-vat-diagnostics summary::-webkit-details-marker {
	display: none;
}

.octobyte-b2b-registration .octobyte-b2b-vat-diagnostics summary::before {
	content: '▸ ';
	display: inline-block;
	margin-right: 0.25rem;
	transition: transform 140ms ease;
}

.octobyte-b2b-registration .octobyte-b2b-vat-diagnostics[open] summary::before {
	transform: rotate(90deg);
}

.octobyte-b2b-registration .octobyte-b2b-vat-diagnostics summary:hover {
	border-color: var(--b2b-border-strong);
	background: var(--b2b-bg);
}

.octobyte-b2b-registration .octobyte-b2b-vat-diagnostics pre {
	margin: 0.5rem 0 0;
	padding: 0.875rem;
	background: #0a0e1a;
	color: #d4d4d8;
	border-radius: var(--b2b-radius-sm);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
	font-size: 0.6875rem;
	line-height: 1.55;
	white-space: pre-wrap;
	word-break: break-word;
	overflow-x: auto;
	max-height: 400px;
}

/* ---------- Checkbox ---------- */

.octobyte-b2b-checkbox {
	display: flex;
	gap: 0.625rem;
	align-items: flex-start;
	margin: 0;
	padding: 0;
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--b2b-text-soft);
	cursor: pointer;
	line-height: 1.5;
}

/* Login form "Να με θυμάσαι" — pad it so the checkbox doesn't feel glued to
   the password input above or the Σύνδεση button below. */
.octobyte-b2b-form > .octobyte-b2b-checkbox {
	margin: 0.5rem 0;
}

.octobyte-b2b-checkbox input[type="checkbox"] {
	flex: 0 0 auto;
	width: 16px !important;
	height: 16px !important;
	margin: 0.15rem 0 0 !important;
	border: 1px solid var(--b2b-border-strong) !important;
	border-radius: var(--b2b-radius-xs) !important;
	background: var(--b2b-bg) !important;
	cursor: pointer;
	accent-color: var(--b2b-primary);
}

.octobyte-b2b-checkbox span {
	flex: 1 1 auto;
}

/* ---------- Privacy notice ---------- */

.octobyte-b2b-form__privacy {
	margin: 0;
	padding: 0;
	font-size: 0.8125rem;
	color: var(--b2b-text-muted);
	line-height: 1.5;
}

.octobyte-b2b-form__privacy a {
	color: var(--b2b-text-soft);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: color 140ms ease;
}

.octobyte-b2b-form__privacy a:hover {
	color: var(--b2b-text);
}

/* ---------- Feedback (success/error banner above submit) ---------- */

.octobyte-b2b-form__feedback {
	margin: 0;
	padding: 0;
	font-size: 0.875rem;
	display: none;
	border-radius: var(--b2b-radius-sm);
	line-height: 1.5;
}

.octobyte-b2b-form__feedback.is-error,
.octobyte-b2b-form__feedback.is-success {
	display: block;
	padding: 0.625rem 0.875rem;
	border: 1px solid transparent;
}

.octobyte-b2b-form__feedback.is-error {
	color: var(--b2b-error);
	background: var(--b2b-error-soft);
	border-color: var(--b2b-error-border);
}

.octobyte-b2b-form__feedback.is-success {
	color: var(--b2b-success);
	background: var(--b2b-success-soft);
	border-color: var(--b2b-success-border);
}

/* ---------- Submit + secondary actions ---------- */

.octobyte-b2b-form__actions {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	align-items: stretch;
	margin: 0.5rem 0 0;
}

.octobyte-b2b-form__submit,
.octobyte-b2b-registration button.octobyte-b2b-form__submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-height: 44px !important;
	padding: 0.625rem 1.25rem !important;
	border-radius: var(--b2b-radius-sm) !important;
	background: var(--b2b-primary) !important;
	border: 1px solid var(--b2b-primary) !important;
	color: var(--b2b-primary-text) !important;
	font: inherit !important;
	font-size: 0.9375rem !important;
	font-weight: 600 !important;
	letter-spacing: -0.005em !important;
	cursor: pointer !important;
	text-transform: none !important;
	text-shadow: none !important;
	box-shadow: var(--b2b-shadow-btn) !important;
	transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 80ms ease;
}

.octobyte-b2b-form__submit:hover,
.octobyte-b2b-form__submit:focus-visible {
	background: var(--b2b-primary-hover) !important;
	border-color: var(--b2b-primary-hover) !important;
	box-shadow: var(--b2b-shadow-btn), 0 0 0 3px rgba(10, 37, 64, 0.12) !important;
	outline: none;
}

.octobyte-b2b-form__submit:active {
	transform: translateY(1px);
}

.octobyte-b2b-form__submit[disabled],
.octobyte-b2b-form__submit.is-loading {
	opacity: 0.7;
	cursor: progress;
	transform: none;
}

.octobyte-b2b-form__submit-spinner {
	display: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #ffffff;
	animation: octobyte-b2b-spin 700ms linear infinite;
}

.octobyte-b2b-form__submit.is-loading .octobyte-b2b-form__submit-spinner {
	display: inline-block;
}

/* Secondary link below primary CTA */
.octobyte-b2b-form__login {
	display: inline-block;
	margin: 0 auto;
	color: var(--b2b-text-muted) !important;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	text-align: center;
	transition: color 140ms ease;
}

.octobyte-b2b-form__login:hover,
.octobyte-b2b-form__login:focus-visible {
	color: var(--b2b-text) !important;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

@keyframes octobyte-b2b-spin {
	to { transform: rotate(360deg); }
}

/* =============================================================================
   Login form — inner sub-tabs (Email+pwd / Email+OTP / VAT+OTP)
   ============================================================================= */

.octobyte-b2b-login__title {
	margin: 0 0 1.25rem;
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--b2b-text);
}

/* Segmented pill control for tertiary mode switching inside Login */
.octobyte-b2b-login__tabs {
	display: inline-flex;
	gap: 0.125rem;
	margin: 0 0 1.5rem;
	padding: 0.1875rem;
	background: var(--b2b-bg-sunken);
	border-radius: var(--b2b-radius-sm);
	border: 1px solid var(--b2b-border);
	width: auto;
	max-width: 100%;
	overflow-x: auto;
}

.octobyte-b2b-login__tab {
	display: inline-flex;
	align-items: center;
	gap: 0.4375rem;
	background: transparent;
	border: 0;
	border-radius: var(--b2b-radius-xs);
	color: var(--b2b-text-muted);
	cursor: pointer;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 500;
	padding: 0.4375rem 0.75rem;
	transition: background-color 140ms ease, color 140ms ease;
	white-space: nowrap;
	letter-spacing: -0.005em;
}

.octobyte-b2b-login__tab-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	color: currentColor;
	opacity: 0.85;
}

.octobyte-b2b-login__tab-icon svg {
	width: 14px;
	height: 14px;
	display: block;
}

.octobyte-b2b-login__tab.is-active .octobyte-b2b-login__tab-icon {
	opacity: 1;
	color: var(--b2b-primary);
}

.octobyte-b2b-login__tab:hover {
	color: var(--b2b-text-soft);
}

.octobyte-b2b-login__tab.is-active {
	background: var(--b2b-bg);
	color: var(--b2b-text);
	font-weight: 600;
	box-shadow: 0 1px 2px rgba(10, 14, 26, 0.06);
}

.octobyte-b2b-login__tab:focus-visible {
	outline: 2px solid var(--b2b-accent);
	outline-offset: -1px;
}

.octobyte-b2b-login__panel {
	display: none;
}

.octobyte-b2b-login__panel.is-active {
	display: block;
}

.octobyte-b2b-login__step {
	display: none;
}

.octobyte-b2b-login__step.is-active {
	display: block;
}

.octobyte-b2b-login__register {
	margin: 1.5rem 0 0;
	padding: 1.25rem 0 0;
	border-top: 1px solid var(--b2b-border);
	font-size: 0.875rem;
	color: var(--b2b-text-muted);
	text-align: center;
}

.octobyte-b2b-login__register a {
	color: var(--b2b-accent);
	font-weight: 500;
	text-decoration: none;
	margin-left: 0.25rem;
}

.octobyte-b2b-login__register a:hover {
	color: var(--b2b-accent-hover);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

/* =============================================================================
   My Account "B2B Profile" tab — preserved from prior milestones
   ============================================================================= */

.octobyte-b2b-account {
	--b2b-acc-surface: #ffffff;
	--b2b-acc-border: #e6e6e6;
	--b2b-acc-text: #0a0e1a;
	--b2b-acc-text-soft: #3a3f56;
	--b2b-acc-muted: #6b7280;
	--b2b-acc-accent: #635bff;
	--b2b-acc-radius: 12px;

	--b2b-warning: #b54708;
	--b2b-warning-soft: #fffaeb;
	--b2b-warning-border: #fedf89;
	--b2b-danger: #b42318;
	--b2b-danger-soft: #fef3f2;
	--b2b-danger-border: #fecdca;
	--b2b-success: #027a48;
	--b2b-success-soft: #ecfdf3;
	--b2b-success-border: #abefc6;
	--b2b-info: #175cd3;
	--b2b-info-soft: #eff8ff;
	--b2b-info-border: #b2ddff;

	background: var(--b2b-acc-surface);
	border: 1px solid var(--b2b-acc-border);
	border-radius: var(--b2b-acc-radius);
	padding: 1.75rem 2rem;
	color: var(--b2b-acc-text);
	font: inherit;
	font-size: 15px;
	line-height: 1.55;
	box-shadow: 0 1px 2px rgba(10, 14, 26, 0.04), 0 1px 3px rgba(10, 14, 26, 0.06);
}

.octobyte-b2b-account,
.octobyte-b2b-account * {
	font-family: inherit !important;
}

.octobyte-b2b-account__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1rem;
	margin-bottom: 1.25rem;
	border-bottom: 1px solid var(--b2b-acc-border);
}

.octobyte-b2b-account__eyebrow {
	margin: 0;
	font-size: 0.6875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--b2b-acc-muted);
	font-weight: 600;
}

.octobyte-b2b-account__title {
	margin: 0.25rem 0 0;
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--b2b-acc-text);
}

.octobyte-b2b-account__status {
	white-space: nowrap;
}

.octobyte-b2b-account .octobyte-b2b-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	border: 1px solid;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.octobyte-b2b-account .octobyte-b2b-status-pending {
	background: var(--b2b-warning-soft);
	color: var(--b2b-warning);
	border-color: var(--b2b-warning-border);
}
.octobyte-b2b-account .octobyte-b2b-status-approved {
	background: var(--b2b-success-soft);
	color: var(--b2b-success);
	border-color: var(--b2b-success-border);
}
.octobyte-b2b-account .octobyte-b2b-status-rejected {
	background: var(--b2b-danger-soft);
	color: var(--b2b-danger);
	border-color: var(--b2b-danger-border);
}
.octobyte-b2b-account .octobyte-b2b-status-info {
	background: var(--b2b-info-soft);
	color: var(--b2b-info);
	border-color: var(--b2b-info-border);
}
.octobyte-b2b-account .octobyte-b2b-status-suspended {
	background: #f5f5f7;
	color: #3a3f56;
	border-color: #d4d4d8;
}

.octobyte-b2b-account__notice {
	border-radius: 8px;
	border: 1px solid transparent;
	padding: 0.875rem 1rem;
	margin-bottom: 1.25rem;
}
.octobyte-b2b-account__notice strong {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25rem;
}
.octobyte-b2b-account__notice p {
	margin: 0;
	color: var(--b2b-acc-text-soft);
	font-size: 0.9375rem;
}
.octobyte-b2b-account__notice--pending {
	background: var(--b2b-warning-soft);
	border-color: var(--b2b-warning-border);
	color: var(--b2b-warning);
}
.octobyte-b2b-account__notice--approved {
	background: var(--b2b-success-soft);
	border-color: var(--b2b-success-border);
	color: var(--b2b-success);
}
.octobyte-b2b-account__notice--rejected {
	background: var(--b2b-danger-soft);
	border-color: var(--b2b-danger-border);
	color: var(--b2b-danger);
}
.octobyte-b2b-account__notice--info {
	background: var(--b2b-info-soft);
	border-color: var(--b2b-info-border);
	color: var(--b2b-info);
}

.octobyte-b2b-account__shop-link {
	margin-left: 0.5rem;
	color: var(--b2b-acc-accent);
	font-weight: 500;
	text-decoration: none;
}
.octobyte-b2b-account__shop-link:hover {
	text-decoration: underline;
}

.octobyte-b2b-account__section h3 {
	margin: 0 0 0.875rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--b2b-acc-text);
	letter-spacing: -0.01em;
}

.octobyte-b2b-account__details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem 1.5rem;
	margin: 0 0 1rem;
}
@media (max-width: 600px) {
	.octobyte-b2b-account__details {
		grid-template-columns: 1fr;
	}
}
.octobyte-b2b-account__details > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--b2b-acc-border);
}
.octobyte-b2b-account__details dt {
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--b2b-acc-muted);
	font-weight: 600;
	margin: 0;
}
.octobyte-b2b-account__details dd {
	margin: 0;
	color: var(--b2b-acc-text);
	font-size: 0.9375rem;
	font-weight: 500;
}

.octobyte-b2b-account__hint {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--b2b-acc-muted);
}

.octobyte-b2b-account__empty {
	text-align: center;
	padding: 2rem 1rem;
	color: var(--b2b-acc-muted);
}

/* =============================================================================
   Registration — intro / benefits column + form (two-column enterprise layout)
   Colours & fonts inherit from the active theme (Woodmart accented-button vars +
   --wd-title-font), with fallbacks so it looks right on any store.
   ============================================================================= */

.octobyte-b2b-reg-layout {
	--b2b-brand: var(--btn-accented-bgcolor-hover, #635bff);
	--b2b-ink:   var(--btn-accented-bgcolor, #0a2540);
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: start;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	max-width: 1080px;
	margin: 2rem auto;
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.octobyte-b2b-reg-layout *,
.octobyte-b2b-reg-layout *::before,
.octobyte-b2b-reg-layout *::after {
	box-sizing: border-box;
}

.octobyte-b2b-reg-layout,
.octobyte-b2b-reg-layout * {
	font-family: inherit;
}

/* The form drops its standalone centering and fills its grid column. */
.octobyte-b2b-reg-layout .octobyte-b2b-registration {
	margin: 0;
	max-width: none;
	width: 100%;
}

/* Solo (no intro configured) — keep the classic centered single card. */
.octobyte-b2b-reg-layout--solo {
	grid-template-columns: minmax(0, 480px);
	justify-content: center;
}

/* ---------- Intro column ---------- */

.octobyte-b2b-reg-intro {
	align-self: start;
	padding-top: 0.35rem;
}

.octobyte-b2b-reg-intro__eyebrow {
	margin: 0 0 0.9rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--b2b-brand);
}

.octobyte-b2b-reg-intro__title {
	margin: 0 0 0.8rem;
	font-family: var(--wd-title-font, inherit);
	font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.3rem);
	font-weight: 600;
	line-height: 1.14;
	letter-spacing: -0.02em;
	color: var(--b2b-ink);
	text-wrap: balance;
}

.octobyte-b2b-reg-intro__lead {
	margin: 0 0 2rem;
	max-width: 46ch;
	font-size: 1.02rem;
	line-height: 1.6;
	color: var(--b2b-text-soft, #3a3f56);
}

/* ---------- Benefits ---------- */

.octobyte-b2b-reg-benefits {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.15rem;
}

.octobyte-b2b-reg-benefit {
	display: flex;
	align-items: flex-start;
	gap: 0.95rem;
}

.octobyte-b2b-reg-benefit__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	color: var(--b2b-brand);
	background: rgba(120, 120, 120, 0.1);
	background: color-mix(in srgb, var(--b2b-brand) 13%, transparent);
}

.octobyte-b2b-reg-benefit__icon svg {
	width: 21px;
	height: 21px;
}

.octobyte-b2b-reg-benefit__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding-top: 3px;
}

.octobyte-b2b-reg-benefit__title {
	font-weight: 600;
	font-size: 0.98rem;
	color: var(--b2b-ink);
}

.octobyte-b2b-reg-benefit__text {
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--b2b-text-muted, #6b7280);
}

@media (max-width: 860px) {
	.octobyte-b2b-reg-layout {
		grid-template-columns: 1fr;
		gap: 2rem;
		max-width: 560px;
	}
	.octobyte-b2b-reg-intro {
		padding-top: 0;
		text-align: center;
	}
	.octobyte-b2b-reg-intro__lead {
		margin-left: auto;
		margin-right: auto;
	}
	.octobyte-b2b-reg-benefits {
		max-width: 430px;
		margin: 0 auto;
		text-align: left;
	}
}

/* =============================================================================
   Field-state colouring — instant "done vs to-fill" feedback + ΑΑΔΕ autofill flash
   green = filled/valid · amber = still required · brief green flash on autofill
   ============================================================================= */

/* Specificity note: the base input rule is `… input.octobyte-b2b-input` (0-2-1)
   with !important, so these must clear it — `.octobyte-b2b-input.octobyte-b2b-ok`
   is 0-3-0 and wins. Every form control carries `.octobyte-b2b-input`. */
.octobyte-b2b-registration .octobyte-b2b-input.octobyte-b2b-ok {
	border-color: #1f7a33 !important;
	background-color: #ecf8ef !important;
	box-shadow: 0 0 0 1px #1f7a33 inset !important;
}

.octobyte-b2b-registration .octobyte-b2b-input.octobyte-b2b-todo {
	border-color: #e08600 !important;
	background-color: #fff6e8 !important;
	box-shadow: 0 0 0 1px #e08600 inset !important;
}

.octobyte-b2b-registration .octobyte-b2b-input.octobyte-b2b-flash {
	box-shadow: 0 0 0 3px rgba(31, 122, 51, 0.45) !important;
	transition: box-shadow 0.3s ease;
}

/* Hard-invalid field (e.g. wrong phone length) → red, same specificity race. */
.octobyte-b2b-registration .octobyte-b2b-input.octobyte-b2b-error {
	border-color: #d92d20 !important;
	background-color: #fef3f2 !important;
	box-shadow: 0 0 0 1px #d92d20 inset !important;
}

/* Phone field: country dial-code picker + number input on one row. */
.octobyte-b2b-registration .octobyte-b2b-phone-group {
	display: flex;
	gap: 0.5rem;
	align-items: stretch;
}

.octobyte-b2b-registration .octobyte-b2b-phone-group .octobyte-b2b-dial {
	flex: 0 0 auto;
	width: auto;
	max-width: 12rem;
}

.octobyte-b2b-registration .octobyte-b2b-phone-group .octobyte-b2b-input[name="phone"] {
	flex: 1 1 auto;
	min-width: 0;
}

.octobyte-b2b-registration .octobyte-b2b-phone-feedback {
	margin: 0.35rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.5;
}

.octobyte-b2b-registration .octobyte-b2b-phone-feedback:empty { display: none; }
.octobyte-b2b-registration .octobyte-b2b-phone-feedback.is-ok {
	color: var(--b2b-success);
	font-weight: 500;
}
.octobyte-b2b-registration .octobyte-b2b-phone-feedback.is-error {
	color: var(--b2b-error);
	font-weight: 500;
}

/* ============================================================
   "Application received" screen — replaces the form after a
   successful submit (registration.js renderSuccess). Inherits
   the theme's ink/accent/title tokens like the rest of the form.
   ============================================================ */
/* Once submitted, collapse the 2-column layout so the confirmation card is
   centered full-width and the "why register" column is hidden. */
/* Unified auth page: keep the story in view while the long registration form scrolls. */
@media (min-width: 861px) {
	.octobyte-b2b-auth > .octobyte-b2b-reg-intro {
		position: sticky;
		top: 6rem;
		align-self: start;
	}

	/* Woodmart gives <body> overflow-x: hidden, which turns it into a scroll
	   container and silently disables sticky. clip keeps the horizontal guard
	   without creating a scroll container. Scoped to pages with the auth block. */
	body:has(.octobyte-b2b-auth) {
		overflow: clip visible;
	}
}

/* Phones: same reading order as desktop — the story (welcome + benefits) first, then the card (1.30.1). */
@media (max-width: 860px) {
	.octobyte-b2b-auth > .octobyte-b2b-reg-intro {
		order: 0;
		margin-top: 0;
	}

	.octobyte-b2b-auth > .octobyte-b2b-auth__card {
		order: 1;
	}
}

.octobyte-b2b-reg-layout--done {
	grid-template-columns: 1fr !important;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}
.octobyte-b2b-reg-layout--done .octobyte-b2b-reg-intro {
	display: none;
}

.octobyte-b2b-registration .octobyte-b2b-ty {
	max-width: 640px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem 1rem;
	text-align: center;
	animation: octobyte-b2b-ty-in 640ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.octobyte-b2b-registration .octobyte-b2b-ty__badge {
	width: 92px;
	height: 92px;
	margin: 0 auto 1.5rem;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--b2b-success-soft, #ecfdf3);
	box-shadow: 0 0 0 8px color-mix(in srgb, var(--b2b-success, #027a48) 8%, transparent);
	animation: octobyte-b2b-ty-pop 520ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
}

.octobyte-b2b-registration .octobyte-b2b-ty__check { width: 52px; height: 52px; }
.octobyte-b2b-registration .octobyte-b2b-ty__check-c {
	stroke: var(--b2b-success, #027a48);
	stroke-width: 2.5;
	stroke-dasharray: 145;
	stroke-dashoffset: 145;
	animation: octobyte-b2b-ty-draw 560ms ease-out 260ms forwards;
}
.octobyte-b2b-registration .octobyte-b2b-ty__check-p {
	stroke: var(--b2b-success, #027a48);
	stroke-width: 3.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 40;
	stroke-dashoffset: 40;
	animation: octobyte-b2b-ty-draw 360ms ease-out 640ms forwards;
}

.octobyte-b2b-registration .octobyte-b2b-ty__title {
	margin: 0 0 0.5rem;
	font-family: var(--wd-title-font, inherit);
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--b2b-text, #0a0e1a);
	text-wrap: balance;
}

.octobyte-b2b-registration .octobyte-b2b-ty__lead {
	margin: 0 auto 0.75rem;
	max-width: 46ch;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--b2b-text, #0a0e1a);
}

.octobyte-b2b-registration .octobyte-b2b-ty__email {
	margin: 0 auto 2rem;
	max-width: 46ch;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--b2b-text-muted, #6b7280);
}
.octobyte-b2b-registration .octobyte-b2b-ty__email strong { color: var(--b2b-text, #0a0e1a); }

/* "What happens next" vertical timeline */
.octobyte-b2b-registration .octobyte-b2b-ty__steps {
	list-style: none;
	margin: 0 auto 2.25rem;
	padding: 0;
	max-width: 400px;
	text-align: left;
}
.octobyte-b2b-registration .octobyte-b2b-ty__steps li {
	position: relative;
	display: flex;
	gap: 0.875rem;
	padding: 0 0 1.25rem;
}
.octobyte-b2b-registration .octobyte-b2b-ty__steps li::before {
	content: '';
	position: absolute;
	left: 12px;
	top: 26px;
	bottom: -2px;
	width: 2px;
	background: var(--b2b-border, #e6e6e6);
}
.octobyte-b2b-registration .octobyte-b2b-ty__steps li:last-child { padding-bottom: 0; }
.octobyte-b2b-registration .octobyte-b2b-ty__steps li:last-child::before { display: none; }

.octobyte-b2b-registration .octobyte-b2b-ty__mark {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 2px solid var(--b2b-border, #e6e6e6);
	background: var(--b2b-bg, #fff);
}
.octobyte-b2b-registration .octobyte-b2b-ty__steps li.is-done .octobyte-b2b-ty__mark {
	border-color: var(--b2b-success, #027a48);
	background: var(--b2b-success, #027a48);
}
.octobyte-b2b-registration .octobyte-b2b-ty__steps li.is-done .octobyte-b2b-ty__mark::after {
	content: '';
	position: absolute;
	left: 8px;
	top: 4px;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.octobyte-b2b-registration .octobyte-b2b-ty__steps li.is-active .octobyte-b2b-ty__mark {
	border-color: var(--b2b-primary, #0a2540);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--b2b-primary, #0a2540) 12%, transparent);
}
.octobyte-b2b-registration .octobyte-b2b-ty__steps li.is-active .octobyte-b2b-ty__mark::after {
	content: '';
	position: absolute;
	inset: 5px;
	border-radius: 50%;
	background: var(--b2b-primary, #0a2540);
}

.octobyte-b2b-registration .octobyte-b2b-ty__step {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	padding-top: 1px;
}
.octobyte-b2b-registration .octobyte-b2b-ty__step strong {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--b2b-text, #0a0e1a);
}
.octobyte-b2b-registration .octobyte-b2b-ty__step em {
	font-style: normal;
	font-size: 0.8125rem;
	color: var(--b2b-text-muted, #6b7280);
}

.octobyte-b2b-registration .octobyte-b2b-ty__cta {
	display: inline-block;
	padding: 0.85rem 1.85rem;
	border-radius: 999px;
	background: var(--b2b-primary, #0a2540);
	color: #fff !important;
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease;
}
.octobyte-b2b-registration .octobyte-b2b-ty__cta:hover,
.octobyte-b2b-registration .octobyte-b2b-ty__cta:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px color-mix(in srgb, var(--b2b-primary, #0a2540) 28%, transparent);
}

@keyframes octobyte-b2b-ty-in {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: none; }
}
@keyframes octobyte-b2b-ty-pop {
	from { transform: scale(0.6); opacity: 0; }
	to   { transform: scale(1); opacity: 1; }
}
@keyframes octobyte-b2b-ty-draw {
	to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.octobyte-b2b-registration .octobyte-b2b-ty,
	.octobyte-b2b-registration .octobyte-b2b-ty__badge { animation: none; }
	.octobyte-b2b-registration .octobyte-b2b-ty__check-c,
	.octobyte-b2b-registration .octobyte-b2b-ty__check-p {
		stroke-dashoffset: 0;
		animation: none;
	}
}

/* =============================================================================
   Signed-in hub — the auth page for a visitor who is already logged in
   ============================================================================= */
.octobyte-b2b-hub {
	position: relative;
	overflow: hidden;
}

.octobyte-b2b-hub::before {
	content: '';
	position: absolute;
	inset: 0 0 auto 0;
	height: 112px;
	background:
		radial-gradient(120% 90% at 100% 0%, var(--b2b-accent-soft) 0%, transparent 60%),
		linear-gradient(180deg, var(--b2b-bg-subtle) 0%, transparent 100%);
	pointer-events: none;
}

.octobyte-b2b-hub__head {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.25rem;
}

.octobyte-b2b-hub__avatar {
	flex: 0 0 auto;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--b2b-ink);
	color: #fff;
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: 0.02em;
	box-shadow: 0 8px 20px rgba(10, 14, 26, 0.18);
}

.octobyte-b2b-hub__identity {
	min-width: 0;
}

.octobyte-b2b-hub__greeting {
	margin: 0 0 0.125rem;
	font-size: 0.8125rem;
	color: var(--b2b-text-muted);
}

.octobyte-b2b-hub__name {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.25;
	font-weight: 700;
	color: var(--b2b-text);
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.octobyte-b2b-hub__subline {
	margin: 0.25rem 0 0;
	font-size: 0.8125rem;
	color: var(--b2b-text-soft);
	overflow-wrap: anywhere;
}

.octobyte-b2b-hub__facts {
	position: relative;
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.octobyte-b2b-hub__fact {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.375rem 0.75rem;
	border-radius: 999px;
	border: 1px solid var(--b2b-border);
	background: var(--b2b-bg);
	font-size: 0.8125rem;
	color: var(--b2b-text);
	line-height: 1.2;
}

.octobyte-b2b-hub__fact-label {
	color: var(--b2b-text-muted);
}

.octobyte-b2b-hub__fact--success {
	background: var(--b2b-success-soft);
	border-color: var(--b2b-success-border);
	color: var(--b2b-success);
	font-weight: 600;
}

.octobyte-b2b-hub__fact--warning {
	background: var(--b2b-warning-soft);
	border-color: var(--b2b-warning-border);
	color: var(--b2b-warning);
	font-weight: 600;
}

.octobyte-b2b-hub__fact--info {
	background: var(--b2b-info-soft);
	border-color: var(--b2b-info-border);
	color: var(--b2b-info);
	font-weight: 600;
}

.octobyte-b2b-hub__fact--danger {
	background: var(--b2b-danger-soft);
	border-color: var(--b2b-danger-border);
	color: var(--b2b-danger);
	font-weight: 600;
}

.octobyte-b2b-hub__notice {
	position: relative;
	margin: 0 0 1.25rem;
	padding: 0.875rem 1rem;
	border-radius: var(--b2b-radius-sm);
	background: var(--b2b-info-soft);
	border: 1px solid var(--b2b-info-border);
	color: var(--b2b-text);
	font-size: 0.9rem;
	line-height: 1.5;
}

.octobyte-b2b-hub__notice--rejected {
	background: var(--b2b-danger-soft);
	border-color: var(--b2b-danger-border);
}

.octobyte-b2b-hub__actions {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.625rem;
	margin: 0 0 1.25rem;
}

.octobyte-b2b-hub__action {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem;
	padding: 0.875rem 0.875rem 0.875rem 0.75rem;
	border-radius: var(--b2b-radius-sm);
	border: 1px solid var(--b2b-border);
	background: var(--b2b-bg);
	color: var(--b2b-text);
	text-decoration: none !important;
	transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1), border-color 160ms ease, box-shadow 160ms ease;
	animation: octobyte-b2b-hub-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.octobyte-b2b-hub__action:nth-child(2) { animation-delay: 60ms; }
.octobyte-b2b-hub__action:nth-child(3) { animation-delay: 120ms; }
.octobyte-b2b-hub__action:nth-child(4) { animation-delay: 180ms; }
.octobyte-b2b-hub__action:nth-child(5) { animation-delay: 240ms; }
.octobyte-b2b-hub__action:nth-child(6) { animation-delay: 300ms; }

.octobyte-b2b-hub__action:first-child {
	grid-column: 1 / -1;
	background: var(--b2b-ink);
	border-color: var(--b2b-ink);
	color: #fff;
}

.octobyte-b2b-hub__action:hover,
.octobyte-b2b-hub__action:focus-visible {
	transform: translateY(-2px);
	border-color: var(--b2b-border-strong);
	box-shadow: var(--b2b-shadow-card);
	color: var(--b2b-text);
}

.octobyte-b2b-hub__action:first-child:hover,
.octobyte-b2b-hub__action:first-child:focus-visible {
	color: #fff;
	box-shadow: 0 12px 28px rgba(10, 14, 26, 0.28);
}

.octobyte-b2b-hub__action:focus-visible {
	outline: 2px solid var(--b2b-accent);
	outline-offset: 2px;
}

.octobyte-b2b-hub__action-icon {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--b2b-bg-sunken);
	color: var(--b2b-ink);
	flex: 0 0 auto;
}

.octobyte-b2b-hub__action-icon svg {
	width: 20px;
	height: 20px;
}

.octobyte-b2b-hub__action:first-child .octobyte-b2b-hub__action-icon {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.octobyte-b2b-hub__action-body {
	min-width: 0;
	display: grid;
	gap: 0.125rem;
}

.octobyte-b2b-hub__action-label {
	font-weight: 600;
	font-size: 0.9375rem;
	line-height: 1.3;
}

.octobyte-b2b-hub__action-hint {
	font-size: 0.78rem;
	line-height: 1.35;
	color: var(--b2b-text-muted);
}

/* Secondary tiles stay one-line: the label is enough, the hint would wrap. */
.octobyte-b2b-hub__action:not(:first-child) .octobyte-b2b-hub__action-hint {
	display: none;
}

.octobyte-b2b-hub__action:first-child .octobyte-b2b-hub__action-hint {
	color: rgba(255, 255, 255, 0.72);
}

.octobyte-b2b-hub__action-arrow {
	color: var(--b2b-text-faint);
	transition: transform 160ms ease, color 160ms ease;
}

.octobyte-b2b-hub__action:hover .octobyte-b2b-hub__action-arrow {
	transform: translateX(3px);
	color: var(--b2b-text);
}

.octobyte-b2b-hub__action:first-child .octobyte-b2b-hub__action-arrow {
	color: rgba(255, 255, 255, 0.7);
}

.octobyte-b2b-hub__foot {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--b2b-border);
	font-size: 0.875rem;
}

.octobyte-b2b-hub__account {
	font-weight: 600;
	color: var(--b2b-text);
	text-decoration: none;
}

.octobyte-b2b-hub__logout {
	color: var(--b2b-text-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.octobyte-b2b-hub__logout:hover {
	color: var(--b2b-danger);
}

@keyframes octobyte-b2b-hub-in {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.octobyte-b2b-hub__action {
		animation: none;
		transition: none;
	}
}

@media (max-width: 640px) {
	.octobyte-b2b-hub__actions {
		grid-template-columns: 1fr;
	}
}

/* ---------- Φρουρός ενάντια σε theme kits ----------
   Τα Elementor kits δίνουν μεγέθη display στα h1/h2/h3 (Kava Bouze: h2 = 70px) με ειδικότητα
   (0,1,1) που νικούσε τους τίτλους του plugin (0,1,0). Εδώ οι ίδιες τιμές με ειδικότητα (0,2,0),
   ώστε οι τίτλοι εγγραφής/σύνδεσης/λογαριασμού να μένουν στο μέγεθος που σχεδιάστηκαν. */

[class*="octobyte-b2b-"] .octobyte-b2b-reg-intro__title {
	font-size: clamp(1.5rem, 1rem + 1.6vw, 2.15rem);
	font-weight: 600;
	line-height: 1.14;
	letter-spacing: -0.02em;
	margin: 0 0 0.8rem;
}

[class*="octobyte-b2b-"] .octobyte-b2b-reg-intro__lead {
	font-size: 1.02rem;
	line-height: 1.6;
}

[class*="octobyte-b2b-"] .octobyte-b2b-login__title,
[class*="octobyte-b2b-"] .octobyte-b2b-account__title {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.015em;
}

[class*="octobyte-b2b-"] .octobyte-b2b-ty__title {
	font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem);
	line-height: 1.15;
}

/* ---------- Κάρτα σύνδεσης: ρυθμός και ισορροπία ----------
   Δύο στοιβαγμένα segmented controls (Σύνδεση/Εγγραφή + Κωδικός/Email/ΑΦΜ) και πεδία χωρίς
   κενό μεταξύ τους έδιναν βαριά, στριμωγμένη κάρτα. Τα υπο-tabs γίνονται πλήρους πλάτους
   (ίδιο πλάτος με τα κύρια tabs) και ελαφρύτερα, τα πεδία παίρνουν σταθερό κενό. */

.octobyte-b2b-login .octobyte-b2b-login__tabs,
.octobyte-b2b-auth .octobyte-b2b-login__tabs {
	display: flex;
	width: 100%;
	margin: 0 0 1.5rem;
	padding: 0.1875rem;
	overflow: visible;
}

.octobyte-b2b-login .octobyte-b2b-login__tab,
.octobyte-b2b-auth .octobyte-b2b-login__tab {
	flex: 1 1 0;
	justify-content: center;
	padding: 0.5rem 0.75rem;
	font-size: 11.5px;
	letter-spacing: 0.04em;
}

.octobyte-b2b-auth .octobyte-b2b-auth__tabs {
	margin-bottom: 1.5rem;
}

/* Τα πεδία: σταθερό κενό 1rem μεταξύ τους, ετικέτες λίγο πιο ευανάγνωστες. */
.octobyte-b2b-login__panel.is-active {
	display: grid;
	gap: 1rem;
}

.octobyte-b2b-registration .octobyte-b2b-login__panel .octobyte-b2b-field > label {
	font-size: 13px !important; /* root 14px → τα rem βγάζουν 11px */
}

.octobyte-b2b-login .octobyte-b2b-field,
.octobyte-b2b-auth .octobyte-b2b-login__panel .octobyte-b2b-field {
	gap: 0.45rem;
}

.octobyte-b2b-login .octobyte-b2b-form > .octobyte-b2b-checkbox,
.octobyte-b2b-auth .octobyte-b2b-login__panel > .octobyte-b2b-checkbox {
	margin: 0.25rem 0 0;
}

.octobyte-b2b-login .octobyte-b2b-form__actions,
.octobyte-b2b-auth .octobyte-b2b-login__panel .octobyte-b2b-form__actions {
	margin-top: 0.25rem;
	gap: 1rem;
}

.octobyte-b2b-login .octobyte-b2b-form__actions a,
.octobyte-b2b-auth .octobyte-b2b-login__panel .octobyte-b2b-form__actions a {
	font-size: 0.8125rem;
}

.octobyte-b2b-login .octobyte-b2b-login__register,
.octobyte-b2b-auth .octobyte-b2b-login__register {
	margin-top: 1.75rem;
	padding-top: 1.25rem;
}

/* Η κάρτα αναπνέει λίγο περισσότερο. */
.octobyte-b2b-auth .octobyte-b2b-registration.octobyte-b2b-auth__card,
.octobyte-b2b-registration.octobyte-b2b-login.octobyte-b2b-login {
	padding: 2.5rem 2.25rem; /* root 14px: 35px / 31,5px */
}

@media (max-width: 560px) {
	.octobyte-b2b-auth .octobyte-b2b-registration.octobyte-b2b-auth__card,
	.octobyte-b2b-registration.octobyte-b2b-login.octobyte-b2b-login {
		padding: 1.5rem 1.25rem;
	}

	.octobyte-b2b-login .octobyte-b2b-login__tab-text,
	.octobyte-b2b-auth .octobyte-b2b-login__tab-text {
		font-size: 0.7rem;
	}
}

/* Φρουρός θέματος και για τον τίτλο του signed-in hub (Elementor h3 = 50px). */
[class*="octobyte-b2b-"] .octobyte-b2b-hub__name {
	font-size: 1.25rem;
	line-height: 1.25;
	font-weight: 700;
}
