/**
 * sferiQ Business Fields Checkout — Stiluri
 * Design minimal, non-opinionated — se adaptează la tema activă (BeTheme).
 */

/* =========================================================
   Toggle PF / PJ
   ========================================================= */

.sferiq-customer-type-wrapper {
	margin: 0 0 24px;
	padding: 16px 20px;
	background: #f7f8fa;
	border: 1px solid #e2e4e8;
	border-radius: 6px;
}

.sferiq-customer-type-label-heading {
	margin: 0 0 12px !important;
	font-size: 0.9em;
	font-weight: 600;
	color: #555;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.sferiq-customer-type-options {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.sferiq-type-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	border: 2px solid #d0d3d9;
	border-radius: 5px;
	background: #fff;
	cursor: pointer;
	font-size: 0.95em;
	font-weight: 500;
	color: #444;
	transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
	user-select: none;
}

.sferiq-type-label input[type="radio"] {
	margin: 0;
	accent-color: currentColor;
}

.sferiq-type-label:hover {
	border-color: #999;
	color: #222;
}

.sferiq-type-label.sferiq-active {
	border-color: #2271b1;
	color: #2271b1;
	background: #f0f6fc;
}

/* =========================================================
   Câmpuri PF / PJ — ascunse implicit prin JS; CSS ajutor
   ========================================================= */

.sferiq-pj-field,
.sferiq-pf-field {
	/* Tranziție la afișare/ascundere */
	transition: opacity 0.15s ease;
}

/* =========================================================
   Tabel date facturare — pagina detalii comandă
   ========================================================= */

.sferiq-invoice-details {
	margin: 24px 0;
}

.sferiq-invoice-table {
	width: 100%;
	border-collapse: collapse;
}

.sferiq-invoice-table th,
.sferiq-invoice-table td {
	padding: 8px 12px;
	text-align: left;
	border-bottom: 1px solid #eee;
	font-size: 0.95em;
}

.sferiq-invoice-table th {
	width: 35%;
	font-weight: 600;
	color: #555;
}

/* =========================================================
   Responsive
   ========================================================= */

@media ( max-width: 480px ) {
	.sferiq-customer-type-options {
		flex-direction: column;
	}

	.sferiq-type-label {
		width: 100%;
		justify-content: center;
	}
}
