.fbiz-shell {
	max-width: 1240px;
	margin: 32px auto;
	padding: 0 20px;
	color: #123047;
	font-size: 16px;
	line-height: 1.65
}

.fbiz-hero {
	padding: 48px;
	border-radius: 26px;
	background: linear-gradient(115deg, #08233b, #075b68);
	color: #fff;
	margin-bottom: 28px
}

.fbiz-hero h1 {
	color: #fff !important;
	font-size: clamp(28px, 4vw, 46px);
	line-height: 1.15;
	max-width: 800px;
	margin: 14px 0
}

.fbiz-hero span {
	font-size: 12px;
	letter-spacing: 2px;
	color: #73e1f5;
	font-weight: 700
}

.fbiz-hero p {
	color: #d9eaf3;
	font-size: 17px
}

.fbiz-panel,
.fbiz-card {
	background: #fff;
	border: 1px solid #dce6ed;
	border-radius: 20px;
	padding: 28px;
	margin: 20px 0;
	box-shadow: 0 10px 30px #14354d08
}

.fbiz-panel h2,
.fbiz-card h2 {
	font-size: 23px;
	line-height: 1.35;
	color: #123047
}

.fbiz-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px
}

.fbiz-full {
	grid-column: 1/-1
}

.fbiz-shell label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-weight: 600;
	min-width: 0
}

.fbiz-shell input:not([type=checkbox]),
.fbiz-shell select,
.fbiz-shell textarea {
	font: inherit;
	color: #123047;
	border: 1px solid #bbcddc;
	border-radius: 10px;
	padding: 11px;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	background: #fff
}

.fbiz-shell textarea {
	resize: vertical
}

.fbiz-shell label.checkbox {
	flex-direction: row;
	align-items: center
}

.fbiz-shell label.checkbox input {
	width: auto;
	margin: 0 8px 0 0
}

.fbiz-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: 11px;
	background: #0765d8 !important;
	color: #fff !important;
	padding: 12px 22px;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	min-height: 46px
}

.fbiz-button:hover {
	background: #074fa6 !important
}

.fbiz-shell a:focus-visible,
.fbiz-shell button:focus-visible {
	outline: 3px solid #08aebb;
	outline-offset: 4px
}

.fbiz-row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 0;
	border-bottom: 1px solid #e3ebf0;
	text-decoration: none
}

.fbiz-row span {
	font-size: 14px;
	color: #456078
}

.fbiz-notice {
	background: #e8f8ef;
	padding: 18px;
	border-radius: 12px;
	color: #09643e;
	margin-bottom: 20px
}

.fbiz-notice.is-error {
	background: #fdf2f2;
	color: #9b1c1c;
	border-color: #f8b4b4
}

.fbiz-tabs {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin: 24px 0
}

.fbiz-tabs a {
	padding: 12px 18px;
	border-radius: 30px;
	background: #eaf2f8;
	color: #23445c;
	text-decoration: none
}

.fbiz-tabs .is-active {
	background: #0b5ecb;
	color: #fff
}

.fbiz-filters {
	display: grid;
	grid-template-columns: 2fr 2fr auto;
	gap: 15px;
	align-items: end
}

.fbiz-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px
}

.fbiz-card {
	padding: 0;
	overflow: hidden;
	margin: 0
}

.fbiz-card>img {
	width: 100%;
	height: 260px;
	object-fit: contain;
	background: #eef3f6
}

.fbiz-card>div {
	padding: 24px
}

.fbiz-card h2 a {
	color: inherit;
	text-decoration: none
}

.fbiz-badge {
	display: inline-block;
	color: #086044;
	background: #e3f6ec;
	padding: 5px 12px;
	font-size: 13px;
	border-radius: 20px;
	font-weight: 700
}

.fbiz-detail {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 26px
}

.fbiz-poster {
	align-self: start;
	padding: 12px
}

.fbiz-poster img,
.fbiz-poster .fbiz-generic-logo {
	width: 100%;
	height: auto;
	border-radius: 12px;
	aspect-ratio: 16/9;
	object-fit: cover
}

.fbiz-lines {
	white-space: pre-line
}

.fbiz-back {
	display: inline-block;
	margin: 12px 0;
	color: #456078;
	text-decoration: none;
	font-weight: 600
}

.fbiz-back:hover {
	color: #123047
}

.fbiz-shell code {
	overflow-wrap: anywhere
}

/* Card details (Matching fo-card) */
.fbiz-card {
	border-radius: 24px;
	transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease
}

.fbiz-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: #123047 !important;
	text-decoration: none !important
}

.fbiz-card-media {
	position: relative;
	aspect-ratio: 4/3;
	overflow: hidden;
	background: linear-gradient(135deg, #092c49, #087a85)
}

.fbiz-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center 30%;
	transition: transform .35s ease
}

.fbiz-generic-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #fff;
	font-weight: bold;
	font-size: 4rem
}

.fbiz-card-status {
	position: absolute;
	left: 18px;
	bottom: 16px;
	padding: 6px 13px;
	border-radius: 30px;
	background: #fff;
	color: #075b43;
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 3px 16px #08233b24
}

.fbiz-card-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 25px
}

.fbiz-card-eyebrow {
	color: #087a85;
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 1.5px;
	text-transform: uppercase
}

.fbiz-card .fbiz-card-content h2 {
	font-size: 23px;
	line-height: 1.3;
	margin: 12px 0;
	color: #102e46;
	overflow-wrap: anywhere
}

.fbiz-card-summary {
	color: #496176;
	margin: 0 0 20px
}

.fbiz-card-location {
	display: flex;
	gap: 8px;
	align-items: baseline;
	font-size: 14px;
	color: #536d81;
	margin: auto 0 20px
}

.fbiz-card-location i {
	color: #087c91
}

.fbiz-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-top: 1px solid #e1eaf1;
	padding-top: 18px;
	margin-top: auto;
	color: #075dc2;
	font-size: 14px;
	font-weight: 700
}

.fbiz-card-arrow {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #e9f4fc;
	color: #075dc2;
	font-size: 22px;
	transition: background .2s, color .2s
}

.fbiz-card:focus-within {
	border-color: #0875da;
	box-shadow: 0 0 0 3px #0875da33
}

.fbiz-shell .fbiz-card-link:focus-visible {
	outline: 3px solid #0875da;
	outline-offset: -4px;
	border-radius: 23px
}

@media(hover:hover) {
	.fbiz-card:hover {
		transform: translateY(-5px);
		border-color: #73bde0;
		box-shadow: 0 18px 40px #07375420
	}

	.fbiz-card:hover .fbiz-card-media img {
		transform: scale(1.035)
	}

	.fbiz-card:hover .fbiz-card-arrow {
		background: #0967ce;
		color: #fff
	}
}

@media(prefers-reduced-motion:reduce) {

	.fbiz-card,
	.fbiz-card-media img,
	.fbiz-card-arrow {
		transition: none
	}

	.fbiz-card:hover,
	.fbiz-card:hover .fbiz-card-media img {
		transform: none
	}
}

/* Specific elements for business */
.fbiz-cnpj-lookup {
	display: flex;
	gap: 8px;
}

.fbiz-cnpj-lookup input {
	flex: 1;
}

.fbiz-cnpj-lookup button {
	white-space: nowrap;
	padding: 11px 20px;
}

.fbiz-info-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px
}

.fbiz-info-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #456078
}

.fbiz-info-list li a {
	color: #0765d8;
	text-decoration: none;
	font-weight: 600
}

.fbiz-info-list li a:hover {
	text-decoration: underline
}

/* Admin panel specific matches */
.fbiz-admin-card {
	display: flex;
	gap: 20px;
	align-items: center;
	border-bottom: 1px solid #e3ebf0;
	padding: 20px 0
}

.fbiz-admin-card:last-child {
	border-bottom: none
}

.fbiz-admin-card .fbiz-admin-logo {
	width: 80px;
	height: 80px;
	border-radius: 12px;
	overflow: hidden;
	flex-shrink: 0
}

.fbiz-admin-card .fbiz-admin-logo img,
.fbiz-admin-card .fbiz-admin-logo .fbiz-generic-logo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	font-size: 2rem;
}

.fbiz-admin-content {
	flex: 1
}

.fbiz-admin-content small {
	display: block;
	color: #6b7280;
	font-weight: 600;
	margin-bottom: 4px
}

.fbiz-admin-content strong {
	display: block;
	font-size: 18px;
	color: #123047;
	margin-bottom: 8px
}

.fbiz-admin-content p {
	margin: 0;
	color: #4b5563
}

/* Modal styling */
.fbiz-modal {
	padding: 0;
	border: none;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(7, 49, 76, 0.25);
	max-width: 900px;
	width: 95%;
	max-height: 90vh;
	background: #f8fafc;
	margin: auto;
}

.fbiz-modal::backdrop {
	background: rgba(9, 44, 73, 0.8);
	backdrop-filter: blur(4px);
}

.fbiz-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 32px;
	background: #fff;
	border-bottom: 1px solid #e3ebf0;
	position: sticky;
	top: 0;
	z-index: 10;
}

.fbiz-modal-header h2 {
	margin: 0;
	font-size: 22px;
	color: #123047;
}

.fbiz-modal-close {
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: #456078;
	cursor: pointer;
	padding: 4px;
	border-radius: 50%;
}

.fbiz-modal-close:hover {
	color: #dc2626;
	background: #fdf2f2;
}

.fbiz-modal-content {
	padding: 32px;
	overflow-y: auto;
}

#business-status-result:empty {
	display: none;
}

@media(max-width:800px) {

	.fbiz-grid,
	.fbiz-detail {
		grid-template-columns: 1fr 1fr
	}

	.fbiz-filters {
		grid-template-columns: 1fr 1fr
	}

	.fbiz-hero {
		padding: 30px
	}

	.fbiz-detail {
		display: block
	}
}

@media(max-width:550px) {

	.fbiz-form,
	.fbiz-grid,
	.fbiz-filters {
		grid-template-columns: 1fr
	}

	.fbiz-row {
		flex-direction: column;
		gap: 6px
	}

	.fbiz-shell {
		padding: 0 12px
	}

	.fbiz-panel {
		padding: 20px
	}

	.fbiz-hero {
		padding: 25px
	}
}