/* Alert Cards for Elementor */

.ace-alert-cards {
	display: flex;
	align-items: stretch;
	gap: 34px;
}

/* Side line (scroll-indicator look) */
.ace-alert-cards__track {
	position: relative;
	flex-shrink: 0;
	width: 3px;
	border-radius: 99px;
	background-color: #d9d9de;
}

.ace-alert-cards__thumb {
	position: absolute;
	top: 26%;
	left: 50%;
	transform: translateX(-50%);
	width: 6px;
	height: 26%;
	border-radius: 99px;
	background-color: #6d9eeb;
	transition: height 0.15s ease;
}

/* Inner scroll mode */
.ace-alert-cards--scroll .ace-alert-cards__list {
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	max-height: 420px;
}

.ace-alert-cards--scroll .ace-alert-cards__thumb {
	top: 0;
	transition: none;
}

.ace-alert-cards--scroll .ace-alert-cards__track {
	cursor: pointer;
}

/* Hide the native scrollbar (the side line replaces it) */
.ace-alert-cards--hide-scrollbar .ace-alert-cards__list {
	scrollbar-width: none;      /* Firefox */
	-ms-overflow-style: none;   /* old Edge/IE */
}

.ace-alert-cards--hide-scrollbar .ace-alert-cards__list::-webkit-scrollbar {
	display: none;              /* Chrome/Safari */
	width: 0;
	height: 0;
}

/* Cards list */
.ace-alert-cards__list {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 16px;
	min-width: 0;
}

.ace-alert-card {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 22px 24px;
	border-radius: 16px;
	background-color: #f1f1f4;
	text-decoration: none;
	transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

a.ace-alert-card:hover {
	transform: translateY(-1px);
}

.ace-alert-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 24px;
	line-height: 1;
	color: #e02b20;
}

.ace-alert-card__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.ace-alert-card__text {
	color: #1b2a6b;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.35;
}

/* RTL support */
.rtl .ace-alert-cards,
[dir="rtl"] .ace-alert-cards {
	direction: rtl;
}
