/* Card risultati ricerca azienda (registrazione referente) */

:root {
	--auth-company-ink: #102333;
	--auth-company-muted: #5e6b77;
	--auth-company-primary: #003049;
	--auth-company-gold: #ffc247;
	--auth-company-gold-soft: #fff2d4;
	--auth-company-surface: #ffffff;
	--auth-company-surface-soft: #f5f8fa;
	--auth-company-line: rgba(16, 35, 51, .1);
	--auth-company-radius: 8px;
}

.auth-company-result-card {
	background: var(--auth-company-surface);
	border: 1px solid var(--auth-company-line);
	border-radius: var(--auth-company-radius);
	box-shadow: 0 4px 14px rgba(16, 35, 51, .06);
	margin-bottom: 1rem;
	overflow: hidden;
}

.auth-company-result-header {
	align-items: center;
	background: linear-gradient(135deg, rgba(0, 48, 73, .97), rgba(11, 70, 96, .93));
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	display: flex;
	gap: .75rem;
	padding: .85rem 1.1rem;
	position: relative;
}

.auth-company-result-header::before {
	background: var(--auth-company-gold);
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.auth-company-result-icon {
	align-items: center;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 8px;
	color: #fff;
	display: flex;
	flex: 0 0 auto;
	font-size: 1rem;
	height: 2.35rem;
	justify-content: center;
	width: 2.35rem;
}

.auth-company-result-heading {
	min-width: 0;
}

.auth-company-result-eyebrow {
	color: rgba(255, 255, 255, .72);
	font-size: .65rem;
	font-weight: 700;
	letter-spacing: .06em;
	margin-bottom: .15rem;
	text-transform: uppercase;
}

.auth-company-result-title {
	color: #fff;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
}

.auth-company-result-body {
	padding: .75rem 1.1rem .65rem;
}

.auth-company-result-meta {
	display: grid;
	gap: .45rem .9rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
}

.auth-company-result-meta-item {
	margin: 0;
	min-width: 0;
}

.auth-company-result-meta-item--wide {
	grid-column: 1 / -1;
}

.auth-company-result-meta dt {
	color: var(--auth-company-muted);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .04em;
	margin-bottom: .1rem;
	text-transform: uppercase;
}

.auth-company-result-meta dd {
	color: var(--auth-company-ink);
	font-size: .92rem;
	font-weight: 500;
	line-height: 1.35;
	margin: 0;
	word-break: break-word;
}

.auth-company-result-meta-muted {
	color: var(--auth-company-muted);
	display: block;
	font-size: .85rem;
	margin-top: .1rem;
}

.auth-company-result-meta dd a {
	color: var(--auth-company-primary);
	font-weight: 600;
	text-decoration: none;
}

.auth-company-result-meta dd a:hover,
.auth-company-result-meta dd a:focus {
	text-decoration: underline;
}

.auth-search-highlight {
	background: var(--auth-company-gold-soft);
	border-radius: 3px;
	box-shadow: inset 0 0 0 1px rgba(255, 194, 71, .45);
	color: var(--auth-company-ink);
	font-weight: 700;
	padding: .05rem .28rem;
}

.auth-company-result-footer {
	border-top: 1px solid var(--auth-company-line);
	display: flex;
	justify-content: flex-end;
	padding: .65rem 1.1rem .75rem;
}

.auth-company-result-btn {
	align-items: center;
	display: inline-flex;
	font-weight: 400;
	gap: .4rem;
	justify-content: center;
}

.auth-company-result-btn.btn-success,
.auth-company-result-btn.btn-success:hover,
.auth-company-result-btn.btn-success:focus {
	color: #fff !important;
}

.auth-company-result-empty {
	align-items: center;
	background: var(--auth-company-surface-soft);
	border: 1px dashed rgba(16, 35, 51, .18);
	border-radius: var(--auth-company-radius);
	color: var(--auth-company-muted);
	display: flex;
	flex-direction: column;
	gap: .5rem;
	margin-bottom: 1rem;
	padding: 1.25rem 1rem;
	text-align: center;
}

.auth-company-result-empty-icon {
	align-items: center;
	background: #fff;
	border: 1px solid var(--auth-company-line);
	border-radius: 999px;
	color: var(--auth-company-primary);
	display: flex;
	font-size: 1rem;
	height: 2.25rem;
	justify-content: center;
	width: 2.25rem;
}

.auth-company-result-empty p {
	font-size: .95rem;
	line-height: 1.45;
	margin: 0;
	max-width: 34rem;
}

@media (max-width: 767.98px) {
	.auth-company-result-meta {
		grid-template-columns: 1fr;
	}

	.auth-company-result-footer {
		justify-content: stretch;
	}

	.auth-company-result-btn {
		width: 100%;
	}
}
