/* ---- Account type selector ---- */
.b2b-account-type-selector {
	margin-bottom: 20px;
}

.b2b-account-type-label {
	font-size: 1.1em;
	font-weight: 600;
	margin-bottom: 12px;
	color: #333;
}

.b2b-account-type-choices {
	display: flex;
	gap: 12px;
}

.b2b-type-btn {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 20px 10px;
	border: 2px solid #ddd;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	color: #333;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.b2b-type-btn:hover {
	border-color: #96588a;
	background: #f5eef8;
	color: #96588a;
}

/* ---- PRO fields section ---- */
.b2b-pro-fields-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e5e5e5;
}

.b2b-pro-fields-header h3 {
	margin: 0;
	font-size: 1.1em;
}

.b2b-back-btn {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 13px;
	color: #96588a;
	padding: 0;
	text-decoration: underline;
}

.b2b-back-btn:hover {
	color: #6b3d64;
}

/* ---- Company search suggestions ---- */
.b2b-company-suggestions {
	display: block;
	position: relative;
}

.b2b-company-suggestions ul {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #ccc;
	border-top: none;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.b2b-company-suggestions ul li {
	padding: 9px 12px;
	cursor: pointer;
	font-size: 13px;
	border-bottom: 1px solid #f0f0f0;
	line-height: 1.4;
}

.b2b-company-suggestions ul li:hover {
	background: #f5eef8;
}

.b2b-company-suggestions ul li .b2b-company-name {
	font-weight: 600;
	display: block;
}

.b2b-company-suggestions ul li .b2b-company-meta {
	color: #888;
	font-size: 11px;
}

/* ---- Selected company badge ---- */
.b2b-company-selected-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f0faf0;
	border: 1px solid #4caf50;
	color: #155724;
	border-radius: 5px;
	padding: 8px 12px;
	font-weight: 600;
	font-size: 14px;
}

.b2b-company-selected-badge small {
	font-weight: 400;
	color: #666;
}

.b2b-reset-company {
	background: none;
	border: none;
	cursor: pointer;
	color: #999;
	font-size: 14px;
	padding: 0 2px;
	line-height: 1;
}

.b2b-reset-company:hover {
	color: #c00;
}

/* B2B registration fields */
.b2b-registration-fields {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e5e5e5;
}

.b2b-registration-fields h3 {
	margin-bottom: 15px;
	font-size: 1.1em;
}

/* Address autocomplete suggestions */
.b2b-address-suggestions {
	display: block;
	position: relative;
}

.b2b-address-suggestions ul {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #ccc;
	border-top: none;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.b2b-address-suggestions ul li {
	padding: 8px 12px;
	cursor: pointer;
	font-size: 13px;
	border-bottom: 1px solid #f0f0f0;
}

.b2b-address-suggestions ul li:hover {
	background: #f5f5f5;
}

/* ---- Validation errors ---- */
.b2b-field-error,
input.b2b-field-error {
	border-color: #e74c3c !important;
	background: #fff8f8 !important;
}

.b2b-dropzone.b2b-field-error {
	border-color: #e74c3c !important;
	background: #fff8f8 !important;
}

.b2b-error-msg {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #e74c3c;
	font-weight: 500;
}

.b2b-label-error {
	color: #e74c3c !important;
}

/* KBIS Dropzone */
.b2b-dropzone {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 120px;
	padding: 20px;
	border: 2px dashed #ccc;
	border-radius: 6px;
	background: #fafafa;
	cursor: pointer;
	text-align: center;
	transition: border-color 0.2s, background 0.2s;
	box-sizing: border-box;
}

.b2b-dropzone:hover,
.b2b-dropzone:focus,
.b2b-dropzone.b2b-dropzone--active {
	border-color: #96588a;
	background: #f5eef8;
	outline: none;
}

.b2b-dropzone--has-file {
	border-color: #4caf50;
	background: #f0faf0;
}

.b2b-dropzone-icon {
	font-size: 32px;
	line-height: 1;
	color: #999;
}

.b2b-dropzone--has-file .b2b-dropzone-icon {
	color: #4caf50;
}

.b2b-dropzone-text {
	font-size: 14px;
	color: #555;
}

.b2b-dropzone-text em {
	display: block;
	font-style: normal;
	font-size: 12px;
	color: #96588a;
	text-decoration: underline;
}

.b2b-dropzone-preview {
	font-size: 13px;
	font-weight: 600;
	color: #333;
	word-break: break-all;
}

/* PRO price display */
.b2b-regular-price {
	color: #999;
	font-size: 0.9em;
}

.b2b-pro-price {
	color: #e74c3c;
	font-weight: 700;
}

.b2b-discount-badge {
	display: inline-block;
	background: #e74c3c;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 1px 5px;
	border-radius: 3px;
	vertical-align: middle;
	margin-left: 4px;
}
