.maiload-rf-hero {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	margin: 0 0 28px;
	padding: 26px 28px;
	border: 1px solid #d8e9ff;
	border-radius: 16px;
	background:
		radial-gradient(circle at 100% 0, rgba(23, 129, 246, 0.15), transparent 34%),
		linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
	box-shadow: 0 12px 34px rgba(15, 67, 120, 0.08);
}

.maiload-rf-hero-icon {
	display: grid;
	flex: 0 0 58px;
	width: 58px;
	height: 58px;
	place-items: center;
	border-radius: 16px;
	background: #1781f6;
	box-shadow: 0 10px 22px rgba(23, 129, 246, 0.24);
}

.maiload-rf-hero-icon svg {
	width: 30px;
	height: 30px;
	fill: #fff;
}

.maiload-rf-hero-content {
	min-width: 0;
}

.maiload-rf-kicker {
	display: inline-block;
	margin-bottom: 6px;
	color: #1169c8;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.11em;
}

.maiload-rf-hero h2 {
	margin: 0 0 8px;
	color: #0f3150;
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.2;
}

.maiload-rf-hero-content > p {
	max-width: 760px;
	margin: 0;
	color: #35536f;
	font-size: 16px;
	line-height: 1.65;
}

.maiload-rf-helper {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid rgba(23, 129, 246, 0.16);
	color: #4d6680;
}

.maiload-rf-helper > span {
	display: inline-grid;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	place-items: center;
	border-radius: 50%;
	background: #dcecff;
	color: #1169c8;
	font-size: 13px;
	font-weight: 800;
}

.maiload-rf-helper p {
	margin: 0;
	font-size: 14px;
}

.maiload-rf-helper a {
	font-weight: 700;
}

.maiload-rf-table-wrap {
	overflow-x: auto;
	border: 1px solid #e1e7ee;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 49, 80, 0.05);
}

.maiload-rf-table {
	margin: 0 !important;
	border: 0 !important;
}

.maiload-rf-table .maiload-rf-order {
	display: block;
	margin-top: 6px;
	color: #60758a;
	font-size: 0.88em;
}

.maiload-rf-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.maiload-rf-actions .button {
	margin: 0;
	white-space: nowrap;
}

@media (max-width: 768px) {
	.maiload-rf-hero {
		gap: 16px;
		padding: 20px;
	}

	.maiload-rf-hero-icon {
		flex-basis: 48px;
		width: 48px;
		height: 48px;
		border-radius: 13px;
	}

	.maiload-rf-hero-icon svg {
		width: 25px;
		height: 25px;
	}

	.maiload-rf-table-wrap {
		overflow: visible;
	}

	.maiload-rf-actions {
		justify-content: flex-end;
	}
}

@media (max-width: 520px) {
	.maiload-rf-hero {
		flex-direction: column;
	}
}



/* My Account menu item for FILE RISERVATI.
 * YITH already reserves the correct text indentation for its endpoint icons.
 * The icon is therefore positioned in the same fixed slot instead of taking
 * part in the link flow, which keeps spacing identical to the other entries. */
.woocommerce-MyAccount-navigation a[href*="file-riservati"],
.woocommerce-MyAccount-navigation-link--file-riservati > a,
a.maiload-rf-nav-link {
	position: relative !important;
	text-align: left !important;
	text-transform: uppercase !important;
	letter-spacing: 0.02em;
}

.maiload-rf-menu-icon {
	position: absolute !important;
	top: 50% !important;
	left: 16px !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: translateY(-50%) !important;
	color: currentColor !important;
	font-family: FontAwesome !important;
	font-size: 18px !important;
	font-style: normal !important;
	font-weight: normal !important;
	line-height: 20px !important;
	text-align: center !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Prevent older cached versions of the SVG icon from affecting spacing. */
.maiload-rf-menu-icon svg {
	display: none !important;
}

