/*****************************************************
LESS compilation failed due a JavaScript error!

Input: /apps/fleetcor/foundation/clientlibs/fuel-file/css/fuel-file-error-screen.less
Error: ArgumentError: error evaluating function `min`: incompatible types in /apps/fleetcor/foundation/clientlibs/fuel-file/css/fuel-file-error-screen.less on line 28, column 9:
27 	box-sizing: border-box;
28 	width: min(80vw, 1531px);
29 	max-height: min(90vh, 920px);


(uncompiled LESS src is included below)
*****************************************************/
/* Overlay — hidden by default, dark backdrop, flex-centred when active */
.fuel-file-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 10001;
	display: none;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(6px);
}
.fuel-file-modal-overlay.modal-active {
	display: flex;
}
/* Parsys wrapper between overlay and box — make transparent to flex */
.fuel-file-modal-overlay > div {
	display: contents;
}

/* Box — white card with drop-shadow */
/* Figma: 1531px wide on 1920px canvas = 79.8% of viewport */
.fuel-file-modal-box {
	position: relative;
	box-sizing: border-box;
	width: min(80vw, 1531px);
	max-height: min(90vh, 920px);
	overflow-y: auto;
	overflow-x: hidden;
	padding: 0 100px 40px;
	background: #FFFFFF;
	border: 1px solid #FFFFFF;
	box-shadow: 10px 4px 32.8px rgba(0, 0, 0, 0.25);
	border-radius: 16px;
	color: #000000;
}

/* Close button (JS-injected into .modal-header) */
/* Invisible until all step animations finish; JS adds .modal-animations-complete to reveal it */
.fuel-file-modal-box .modal-close-btn {
	flex-shrink: 0;
	background: none;
	border: none;
	cursor: pointer;
	color: #FFFFFF;
	font-size: 30px;
	width: 36px;
	height: 36px;
	line-height: 1;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}
.fuel-file-modal-box.modal-animations-complete .modal-close-btn {
	opacity: 0.85;
	pointer-events: auto;
}
.fuel-file-modal-box.modal-animations-complete .modal-close-btn:hover {
	opacity: 1;
}

/* Header — dark gradient bar bleeding to box edges via negative margins */
/* Figma: padding: 35px 100px, full modal width */
.fuel-file-modal-box .modal-header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 35px 100px;
	margin: 0 -100px 48px;
	background: linear-gradient(270deg, rgba(0, 40, 59, 0.1) -133.51%, #00283B 100%);
}
.fuel-file-modal-box .modal-header h2 {
	font-family: 'Roboto', sans-serif;
	font-weight: 600;
	font-size: 40px;
	line-height: 1.18;
	color: #FFFFFF;
	margin: 0;
}

/* Step row (layout component) — hidden until JS adds .step-visible */
.modal-analysis-step {
	display: flex;
	align-items: flex-start;
	gap: 49px;
	margin-bottom: 40px;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}
.modal-analysis-step.step-visible {
	opacity: 1;
	transform: translateY(0);
}
/* Make parsys wrapper divs inside each step transparent to flex layout */
.modal-analysis-step > div {
	display: contents;
}

/* Bot icon (DAM image, one per step row) — flat tabler SVG, no circle background */
.modal-bot-icon {
	flex-shrink: 0;
	width: 49px;
	height: 49px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
	pointer-events: none;
	text-decoration: none;
}
.modal-bot-icon img {
	width: 75%;
	height: 75%;
	object-fit: contain;
	border-radius: 0;
}

/* Three pulsing dots (JS-injected after bot icon) */
.modal-loading-dots {
	display: flex;
	gap: 6px;
	align-items: center;
	align-self: center;
}
.modal-loading-dots span {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2FB4E5;
	animation: fuelDotPulse 1.4s infinite ease-in-out;
}
.modal-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.modal-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

/* Step text (text component) — hidden until step is loaded */
.modal-step-content {
	display: none;
	flex: 1;
}
.modal-step-content p {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 19px;
	font-weight: 400;
	color: #000000;
	line-height: 1.46;
}
.modal-step-content strong {
	color: #000000;
	font-weight: 600;
}

/* Phase 2 — step-loaded: hide dots, show text; icon stays visible throughout */
.modal-analysis-step.step-loaded .modal-loading-dots { display: none; }
.modal-analysis-step.step-loaded .modal-step-content  { display: block; }

/* ── Error flow containers ──────────────────────────────────────────── */
/* Hidden by default; JS adds .error-flow-active to show the relevant one */
.error-flow {
	display: none;
}
.error-flow.error-flow-active {
	display: block;
}
/* Parsys wrapper inside error-flow */
.error-flow > div {
	display: contents;
}

/* When error mode is active, hide happy-flow steps (belt-and-suspenders) */
.fuel-file-modal-box.modal-error-active > div > .modal-analysis-step {
	display: none !important;
}

/* Tighter spacing for error-flow steps so all content fits without scrolling */
.error-flow .modal-analysis-step {
	margin-bottom: 24px;
}
.fuel-file-modal-box.modal-error-active .modal-header {
	margin-bottom: 32px;
}
/* Error flows now share the same max-height as the base box (90vh) */
/* No override needed — the base .fuel-file-modal-box already uses min(90vh, 920px) */

/* Warning variant — orange text for error headings */
.modal-analysis-step.modal-analysis-step--warning .modal-step-content p {
	color: #E1261C;
	font-weight: 500;
}

/* Link variant — cyan link text (#2FB4E5 per Figma) */
.modal-analysis-step.modal-analysis-step--link .modal-step-content p,
.modal-analysis-step.modal-analysis-step--link .modal-step-content a,
.modal-step-content .modal-reupload-link {
	color: #2FB4E5;
	font-weight: 600;
	cursor: pointer;
}
.modal-analysis-step.modal-analysis-step--link .modal-step-content a {
	text-decoration: underline;
}
.modal-analysis-step.modal-analysis-step--link .modal-step-content a:hover,
.modal-step-content .modal-reupload-link:hover {
	color: #5FD4FF;
}

/* Bullet list inside error steps */
.modal-step-content ul {
	margin: 8px 0 0 0;
	padding-left: 20px;
}
.modal-step-content ul li {
	font-family: 'Roboto', sans-serif;
	font-size: 19px;
	color: #000000;
	line-height: 1.8;
}



/* ── Error-flow re-upload button (shared base) ──────────────────────── */
/* All error flows use the same blue pill button; only file-error
   overrides padding for a smaller inline variant. */
.error-flow .modal-step-content .modal-reupload-link,
.error-flow .modal-step-content a[href*="reupload"] {
	display: inline-block;
	background-color: #2FB4E5;
	color: #FFFFFF !important;
	text-transform: uppercase;
	font-weight: 700;
	font-family: 'Montserrat', sans-serif;
	padding: 10px 24px;
	border-radius: 4px;
	text-decoration: none !important;
	font-size: 14px;
	letter-spacing: 0.5px;
	line-height: 1.5;
	transition: background-color 0.2s;
}
.error-flow .modal-step-content .modal-reupload-link:hover,
.error-flow .modal-step-content a[href*="reupload"]:hover {
	background-color: #5FD4FF;
	color: #FFFFFF !important;
}

/* File error — smaller inline pill variant */
.error-flow-file .modal-step-content .modal-reupload-link {
	padding: 6px 16px;
	vertical-align: middle;
}

@keyframes fuelDotPulse {
	0%, 80%, 100% { opacity: 0.25; transform: scale(0.8); }
	40%            { opacity: 1;    transform: scale(1.1); }
}

/* ── Mobile layout (≤768px) — based on Figma 350px frame ─────────────── */
@media (max-width: 768px) {
	/* Box */
	.fuel-file-modal-box {
		padding: 0 24px 40px;
	}

	/* Header */
	.fuel-file-modal-box .modal-header {
		padding: 16px 24px;
		margin: 0 -24px 32px;
		gap: 24px;
	}
	.fuel-file-modal-box .modal-header h2 {
		font-size: 16px;
		line-height: 23px;
	}

	/* Close button */
	.fuel-file-modal-box .modal-close-btn {
		width: 24px;
		height: 24px;
		font-size: 22px;
	}

	/* Step icon */
	.modal-bot-icon {
		width: 24px;
		height: 24px;
	}

	/* Step row */
	.modal-analysis-step {
		gap: 17px;
		margin-bottom: 24px;
	}

	/* Step text */
	.modal-step-content p {
		font-size: 13px;
		line-height: 19px;
	}

	/* Error flow buttons — smaller padding on mobile */
	.error-flow .modal-step-content .modal-reupload-link,
	.error-flow .modal-step-content a[href*="reupload"] {
		padding: 8px 18px;
		font-size: 12px;
	}
	.error-flow-file .modal-step-content .modal-reupload-link {
		padding: 5px 12px;
	}

	/* Error flow step spacing — tighter on mobile */
	.error-flow .modal-analysis-step {
		margin-bottom: 16px;
	}

	/* Bullet list inside error steps — mobile */
	.modal-step-content ul li {
		font-size: 13px;
		line-height: 1.6;
	}
}

/* Overlay: drop fixed + backdrop so it sits inline in the page */
html.aem-AuthorLayer-Edit .fuel-file-modal-overlay {
	position: static;
	display: block;
	width: 100%;
	height: auto;
	background: none;
	backdrop-filter: none;
}
/* Parsys wrapper between overlay and box — restore normal flow */
html.aem-AuthorLayer-Edit .fuel-file-modal-overlay > div {
	display: block;
}

/* Box: static width, no max-height cap, flush border-radius */
html.aem-AuthorLayer-Edit .fuel-file-modal-box {
	position: static;
	width: 100%;
	max-height: none;
	border-radius: 0;
	overflow: visible;
}
/* Header: restore normal block flow in authoring (undo negative-margin bleed) */
html.aem-AuthorLayer-Edit .fuel-file-modal-box .modal-header {
	margin: 0 0 48px;
	border-radius: 0;
	padding: 35px 100px;
}
/* Hide the JS-injected close button (irrelevant for authoring) */
html.aem-AuthorLayer-Edit .fuel-file-modal-box .modal-close-btn {
	display: none;
}

/* Steps: fully visible, no fade-in transform */
html.aem-AuthorLayer-Edit .modal-analysis-step {
	opacity: 1 !important;
	transform: none !important;
}
/* Step content: always visible in authoring */
html.aem-AuthorLayer-Edit .modal-step-content {
	display: block !important;
}
/* Bot icon: always shown so authors can see/swap the DAM image */
html.aem-AuthorLayer-Edit .modal-bot-icon {
	display: inline-flex !important;
}
/* Hide loading dots — JS hasn't run, they don't exist anyway */
html.aem-AuthorLayer-Edit .modal-loading-dots {
	display: none !important;
}

/* Error flows: visible with a labelled dashed separator so authors can
   distinguish "happy flow" from each error variant at a glance */
html.aem-AuthorLayer-Edit .error-flow {
	display: block;
	border-top: 2px dashed rgba(255, 110, 64, 0.6);
	margin-top: 24px;
	padding-top: 8px;
}
html.aem-AuthorLayer-Edit .error-flow::before {
	display: block;
	margin-bottom: 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 110, 64, 0.9);
}
html.aem-AuthorLayer-Edit .error-flow-file::before      { content: '— Error flow: File processing error'; }
html.aem-AuthorLayer-Edit .error-flow-sensitive::before { content: '— Error flow: Sensitive data detected'; }
html.aem-AuthorLayer-Edit .error-flow-data::before      { content: '— Error flow: Insufficient data'; }
html.aem-AuthorLayer-Edit .error-flow-system::before     { content: '— Error flow: System error'; }
html.aem-AuthorLayer-Edit .error-flow-malicious::before  { content: '— Error flow: Malicious file detected'; }

/* Parsys wrapper inside each error-flow: restore normal block flow */
html.aem-AuthorLayer-Edit .error-flow > div {
	display: block;
}

/* Undo belt-and-suspenders hide that kicks in during runtime error mode */
html.aem-AuthorLayer-Edit .fuel-file-modal-box.modal-error-active > div > .modal-analysis-step {
	display: flex !important;
}

/*Left section code*/
.fuel-file-text-left {
    font-family: Montserrat;
    font-size: 40px;
    font-weight: bold;
    color: #000000;
    text-align: start;
}

.fuel-file-text-left p {
    font-size: 20px;
    font-weight: 400;
}

.step {
    margin-bottom: 0;
    /* remove margin, padding controls spacing now */
    padding-bottom: 72px;
    /* gap between steps */
    position: relative;
    /* line is relative to the whole step row */
}

@media(width<500px) {
    .step {
        padding-bottom: 32px;
    }
}

.first-step::after,
.second-step::after {
    content: "";
    position: absolute;
    left: 48px;
    top: 96px;
    bottom: 8px;
    /* ← was 0, now stops 8px before the next badge */
    border-left: 4px dotted #18bfff;
}

@media (max-width: 767px) {

    .first-step::after,
    .second-step::after {
        left: 27px;
        top: 54px;
        bottom: 8px;
        /* same offset on mobile */
    }
}

/* step row */
.step {
    display: flex;
    gap: 34px;
    margin: 0;
}

/* circle image */
.step>div:first-child {
    flex: 0 0 96px;
    display: flex;
    justify-content: center;
}

.step>div:first-child img {
    width: 96px;
    height: 96px;
    display: block;
    object-fit: contain;
}

/* text */
.step .fuel-file-text-left {
    font-family: "Montserrat", sans-serif !important;
    font-size: 42px;
    line-height: 1.08 !important;
    font-weight: 700 !important;
    color: #f3f3f3 !important;
    letter-spacing: 0 !important;
    text-align: left;
}

.step .fuel-file-text-left p {
    margin: 0;
}

/* dotted line image between steps */
/* a>img[src*="Vector"] {
    display: block;
    width: 4px;
    height: 150px;
    margin-left: 46px;
    /* aligns to center of 96px circle 
    margin-top: 10px;
    margin-bottom: 10px;
} */

/* mobile */
@media (max-width: 767px) {
    .step {
        align-items: flex-start;
        gap: 20px;
    }

    .step>div:first-child {
        flex: 0 0 54px;
    }

    .step>div:first-child img {
        width: 54px;
        height: 54px;
    }

    .step .fuel-file-text-left {
        font-size: 22px !important;
        line-height: 1.14 !important;
        max-width: 270px;
    }

    /* a>img[src*="Vector"] {
        width: 3px;
        height: 92px;
        margin-left: 25px;
        /* center of 54px circle
        margin-top: 8px;
        margin-bottom: 8px;
    } */
}

/*File upload component */
/* ===========================
   File Upload Component Styles
   =========================== */

/* Base container */
.file-upload-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 1px solid #979797;
    border-radius: 4px;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    position: relative;
    min-height: 52px;
}

/* ===========================
   Default / Empty State
   =========================== */

/* Left side: drag & drop text */
.file-upload-btn>div:first-child {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    min-width: 0;
    /* allow shrinking */
    overflow: hidden;
}

.file-upload-btn>div:first-child p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: rgba(89, 94, 97, 0.5);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Red asterisk */
.file-upload-btn .required-star {
    font-size: 18px;
    color: rgba(255, 0, 0, 0.6);
    flex-shrink: 0;
}

/* Right side: ADD FILE button wrapper */
.file-upload-btn>div:last-child {
    flex-shrink: 0;
    margin-left: 12px;
}

/* ADD FILE / ADD A FILE button */
.file-upload-btn .btn.learn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid #2fb4e5;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.file-upload-btn .btn.learn-more span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #2fb4e5;
    transition: color 0.2s ease;
}

.file-upload-btn .btn.learn-more:hover {
    background: rgba(47, 180, 229, 0.05);
}

/* Hidden real file input */
.file-upload-btn input[type="file"] {
    display: none;
}

/* ===========================
   Uploaded State
   =========================== */

.file-upload-btn.has-file {
    border-color: #d5e5e1;
}

/* When file is uploaded, the left side becomes the file info area */
.file-upload-btn.has-file>div:first-child {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    min-width: 0;
    gap: 8px;
}

/* File info: check icon + name + size */
.file-upload-btn .file-info {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
}

/* Check icon */
.file-upload-btn .file-check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #00a86b;
}

/* File name + size wrapper */
.file-upload-btn .file-meta {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #00283b;
    font-size: 14px;
    min-width: 0;
    overflow: hidden;
}

.file-upload-btn .file-name {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    line-height: 22.4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    /* shrinks filename, button stays put */
}

.file-upload-btn .file-size {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 22.4px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Remove + ADD A FILE wrapper */
.file-upload-btn .file-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: 12px;
}

/* Remove link */
.file-upload-btn .file-remove {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #ff4d4d;
    letter-spacing: -0.154px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.5;
    background: none;
    border: none;
    padding: 0;
    transition: opacity 0.2s;
}

.file-upload-btn .file-remove:hover {
    opacity: 0.75;
}

/* ADD A FILE button (dimmed state) */
.file-upload-btn.has-file .btn.learn-more {
    border-color: rgba(89, 94, 97, 0.3);
    cursor: pointer;
}

.file-upload-btn.has-file .btn.learn-more span {
    font-weight: 700;
    font-size: 16px;
    color: rgba(89, 94, 97, 0.5);
    opacity: 0.7;
}

.file-upload-btn.has-file .btn.learn-more:hover {
    background: rgba(89, 94, 97, 0.04);
}

/*Fixes for extend btn than layout when larger filenames*/
/* parent wrapper */
.uploaded-file-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
}

/* LEFT SECTION (file info) */
.uploaded-file-details>div:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    /* take available space */
    min-width: 0;
    /* IMPORTANT */
    overflow: hidden;
}

/* FILE NAME (main fix) */
.uploaded-file-details .file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    /* allow shrinking */
    min-width: 0;
    /* IMPORTANT */
    max-width: 100%;
}

/* FILE SIZE should not shrink */
.uploaded-file-details .file-size {
    flex-shrink: 0;
}

/* RIGHT SECTION (buttons) */
.uploaded-file-details>div:last-child {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    /* NEVER shrink */
}

/*......Submit Btn.....*/
.submit-row {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    margin-top: 170px;
}

@media(width<500px) {
    .submit-row {
        margin-top: 40px;
    }
}

.submit-icon {
    flex: 0 0 auto;
    order: 1;
}

.submit-icon img {
    display: block;
    width: 58px;
    height: auto;
}

.cta-btn-wrapper {
    flex: 1;
    order: 2;
    margin-top: 0;
    text-align: left;
}

#fuelFileBtn {
    width: 100%;
    height: 74px;
    border-radius: 14px;
    margin-bottom: 0 !important;
}

@media (max-width: 767px) {
    .submit-row {
        gap: 12px;
        align-items: center;
    }

    .submit-icon img {
        width: 44px;
    }

    #fuelFileBtn {
        height: 56px;
        border-radius: 10px;
    }
}

/*safe and secure text*/
.safe-secure {
    font-weight: bold;
    font-size: 16px;
    color: #383D68;
    margin-top: 68px;
}

a,
a:visited {
    color: #2FB4E5;
}

.checkbox input:checked {
    background: #2fb4e5 !important;
    border: none !important;
    background-size: contain !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M 3 6.875 L 5.573 9.183 L 10.188 4' stroke='%23fff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") !important;
}
/*current fuel spend*/
.current-fuel-spend h3 {
  color: #1E293B;
  font-size: 36px;
}

.current-fuel-spend h4 {
  color: #005A82;
  font-size: 24px;
}

.current-fuel-spend p {
  color: #4B5563;
  font-size: 28px;
  margin-bottom: 48px;
}

@media(max-width:500px) {
  .current-fuel-spend p {
    font-size: 17px;
  }
}

/*Analysis revealed section*/
.results-in-numb-comp {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  font-family: Arial, sans-serif;
}

.fraud-risk h2 {
  margin-bottom: 12px !important;
}

.fraud-risk p {
  margin-top: 0px !important;
}

@media(min-width:1562px) {
  .fraud-risk h2 {
    margin-bottom: 6px !important;
  }
}

.transactions-analyed,
.score-optimization,
.fraud-risk {
  width: 100%;
  border: 1px solid #d9d9df;
  border-radius: 18px;
  padding: 28px 28px 26px;
  box-sizing: border-box;
  background: #f4f4f8;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 8px 20px rgba(0, 0, 0, 0.03);
  min-height: 210px;
}

.transactions-analyed {
  background: #ECF1F4;
}

.score-optimization {
  background: #ECF5F4;
  position: relative;
}

.fraud-risk {
  background: #F5F2F3;
}

.transactions-analyed h2:first-child,
.score-optimization h2:first-child,
.fraud-risk h2:first-child {
  margin: 0 0 28px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6b6f80;
}

.fraud-risk h2:first-child {
  color: #d21f1f;
}

.transactions-analyed h2:nth-child(2),
.fraud-risk h2:nth-child(2) {
  margin: 0;
  font-size: 58px;
  line-height: 1;
  font-weight: 800;
  color: #0d5f87;
}

.transactions-analyed p,
.score-optimization p,
.fraud-risk p {
  margin: 12px 0 0;
  font-size: 20px;
  line-height: 1.45;
  color: #59606f;
}

.score-optimization h2:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/*
.score-optimization h2:first-child::after {
  content: "Low";
  font-size: 16px;
  font-weight: 700;
  color: #d12a2a;
  background: #f4dede;
  border: 1px solid #e4c1c1;
  border-radius: 8px;
  padding: 4px 14px;
  text-transform: none;
}
*/
.score-optimization p {
  background: #fff;
  border-radius: 8px;
  padding: 18px 18px 16px;
  margin-top: 34px;
}

.score-optimization b,
.transactions-analyed h2:nth-child(2),
.fraud-risk h2:nth-child(2) {
  font-weight: 800;
}

@media (max-width: 992px) {
  .results-in-numb-comp {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .transactions-analyed,
  .score-optimization,
  .fraud-risk {
    min-height: auto;
    padding: 24px 20px;
  }

  .transactions-analyed h2:first-child,
  .score-optimization h2:first-child,
  .fraud-risk h2:first-child {
    font-size: 20px;
    margin-bottom: 22px;
  }

  .transactions-analyed h2:nth-child(2),
  .fraud-risk h2:nth-child(2) {
    font-size: 44px;
  }

  .transactions-analyed p,
  .score-optimization p,
  .fraud-risk p {
    font-size: 17px;
  }

  .score-optimization p {
    margin-top: 24px;
  }
}

.score-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.score-badge {
  font-size: 16px;
  font-weight: 700;
  color: #d12a2a;
  background: #f4dede;
  border: 1px solid #e4c1c1;
  border-radius: 8px;
  padding: 4px 14px;
}

.score-badge[data-score="Poor"] {
  color: #d12a2a;
  background: #f4dede;
  border-color: #e4c1c1;
}

.score-badge[data-score="Medium"] {
  color: #b26a00;
  background: #fff3cd;
  border-color: #f1d58a;
}

.score-badge[data-score="Good"] {
  color: #1e7e34;
  background: #d4edda;
  border-color: #b7dfc2;
}

/* Financial Impact section */

.stats-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.stats-card {
  background: #1e2c47;
  border-radius: 28px;
  padding: 56px 64px;
  color: #f4f4f4;
  box-sizing: border-box;
}

@media(min-width:1076px) and (max-width:1150px) {
  .stats-card {
    height: 350px;
  }
}

@media(min-width:1417px) and (max-width:1550px) {
  .stats-card {
    height: 306px;
  }
}


.stats-card__top {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.stats-card__amount {
  font-size: 64px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -1px;
}

.stats-card__unit {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

.stats-card__bottom {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.stats-card__meta {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
}

.stats-card__divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.18);
  flex: 0 0 1px;
}

.anual-charges-text {
  font-size: 24px;
  font-family: roboto;
  text-align: center;
  margin-bottom: 48px;
}

@media (max-width: 991px) {
  .stats-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stats-card {
    border-radius: 26px;
    padding: 34px 40px;
  }

  .stats-card__top {
    gap: 10px;
    margin-bottom: 22px;
  }

  .stats-card__amount {
    font-size: 42px;
  }

  .stats-card__unit {
    font-size: 24px;
  }

  .stats-card__bottom {
    gap: 18px;
  }

  .stats-card__meta {
    font-size: 26px;
  }

  .stats-card__divider {
    height: 36px;
  }

  .anual-charges-text {
    font-size: 17px;
    font-family: roboto;
    text-align: left;
  }
}

@media(min-width:1151px) and (max-width:1325px) {
  .first-stats-card {
    padding-bottom: 100px;
  }
}

/* Recommended products css */
.card-offer {
  width: 100%;
  box-sizing: border-box;
}

.card-offer__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  border: 2px solid #8ed3f5;
  border-radius: 16px;
  background: #f4f4f6;
  padding: 26px 24px 26px 24px;
  box-sizing: border-box;
  min-height: 218px;
  margin-bottom: 48px
}

.learn-more {
  background: #fff;
  color: #2FB4E5 !important;
  border-radius: 4px;
  border: solid;
  border-width: 2px;
}

.apply-now {
  background: #2FB4E5;
  color: #fff !important;
  border-radius: 4px;
  border: solid;
  border-width: 2px;
}

.apply-now:hover {
  background-color: #1495CC;
  color: white !important;
  cursor: pointer;
}





.card-offer__media {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.card-offer__image-link {
  display: inline-block;
  line-height: 0;
}

.card-offer__image {
  display: block;
  width: 258px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.card-offer__content {
  flex: 1 1 auto;
  min-width: 0;
}


.card-offer__title {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  color: #1f2940;
  font-family: Arial, sans-serif;
}

.card-offer__description {
  margin: 0;
  font-size: 25px;
  line-height: 1.35;
  font-weight: 400;
  color: #4d586c;
  font-family: Arial, sans-serif;
}

.card-offer__actions-wrap {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 56px;
}

.card-offer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  height: 36px;
  padding: 0 18px;
  border-radius: 6px;
  background: #ef2323;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
}

.card-offer__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-offer__action {
  flex: 0 0 auto;
}

.card-offer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 228px;
  height: 68px;
  padding: 0 28px;
  border-radius: 4px;
  text-decoration: none;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  font-size: 25px;
  line-height: 1;
  font-weight: 700;
  text-transform: none;
  transition: none;
}

.card-offer__btn span {
  display: inline-block;
}

.card-offer__btn--outline {
  border: 2px solid #38b5ea;
  background: transparent;
  color: #38b5ea;
}

.card-offer__btn--filled {
  border: 2px solid #38b5ea;
  background: #38b5ea;
  color: #ffffff;
}

/* Tablet */
@media (max-width: 1199px) {
  .card-offer__inner {
    gap: 22px;
    padding: 24px 20px;
  }

  .card-offer__image {
    width: 220px;
  }

  .card-offer__title {
    font-size: 28px;
  }

  .card-offer__description {
    font-size: 21px;
  }

  .card-offer__actions-wrap {
    min-width: 360px;
    gap: 40px;
  }

  .card-offer__btn {
    min-width: 180px;
    height: 60px;
    font-size: 22px;
  }
}

/* Mobile */
@media (max-width: 1200px) {
  .card-offer__inner {
    display: block;
    padding: 22px 18px 24px;
    border-radius: 18px;
  }

  .card-offer__actions-wrap {
    min-width: auto;
    display: block;
  }

  .card-offer__badge {
    float: right;
    margin-bottom: 22px;
  }

  .card-offer__media {
    display: inline-block;
    vertical-align: middle;
    margin-right: 16px;
    margin-bottom: 18px;
  }

  .card-offer__content {
    display: inline-block;
    vertical-align: middle;
    min-width: 0;
    margin-bottom: 18px;
  }

  .card-offer__image {
    width: 188px;
  }

  .card-offer__text {
    max-width: 100%;
  }

  .card-offer__title {
    margin: 0;
    font-size: 33px;
    line-height: 1.1;
  }

  .card-offer__description {
    clear: both;
    display: block;
    width: 100%;
    margin-top: 8px;
    font-size: 26px;
    line-height: 1.45;
  }

  .card-offer__actions {
    clear: both;
    display: flex;
    gap: 18px;
    margin-top: 26px;
  }

  .card-offer__action {
    flex: 1 1 0;
  }

  .card-offer__btn {
    width: 100%;
    min-width: 0;
    height: 68px;
    font-size: 24px;
    padding: 0 14px;
  }
}

/* Small mobile */
@media (max-width: 575px) {
  .card-offer__inner {
    padding: 18px 14px 20px;
  }

  .card-offer__media,
  .card-offer__content {
    display: block;
    width: 100%;
    margin-right: 0;
  }

  .card-offer__media {
    margin-bottom: 16px;
  }

  .card-offer__content {
    margin-bottom: 16px;
  }

  .card-offer__image {
    width: 170px;
  }

  .card-offer__image img {
    width: 88px;
    height: 56px;
  }

  .card-offer__title {
    font-size: 28px;
  }

  .card-offer__description {
    font-size: 18px;
    line-height: 1.5;
  }

  .card-offer__badge {
    float: none;
    margin-bottom: 18px;
    margin-left: auto;
  }

  .card-offer__actions {
    gap: 14px;
  }

  .card-offer__btn {
    height: 56px;
    font-size: 20px;
  }
}

.card-offer__inner::after {
  content: "RECOMMENDED";
  position: absolute;
  top: 20px;
  right: 20px;

  background: #e5252a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: 0.5px;

  z-index: 2;
}

/* Ready for capturing section */
.capture-comp {
  background: #005A82;
  padding: 40px 24px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 48px;
}

.capture-text {
  color: #fff;
}

.saving-btn {
  background-color: #40B7EC;
  padding: 16px;
  color: #fff !important;
  font-weight: bold;
}

.saving-btn:hover {
  background-color: #1495CC;
  color: white !important;
  cursor: pointer;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* card */
.card {
  background: #ffffff;
  border: 1px solid #d9d6d8;
  border-radius: 20px;
  padding: 28px 32px;
}

@media (min-width: 991px) and (max-width: 1069px) {
  .card {
    height: 300px;
  }
}

@media (min-width: 1070px) and (max-width: 1590px) {
  .card {
    height: 275px;
  }
}

/* title */
.card-title {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
  color: #6B7280;
  letter-spacing: 0.5px;
  font-family: Montserrat
}

@media(min-width:1600px) {
  .card-title {
    font-size: 24px;
  }
}

/* label + value row */
.stats-bar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 16px;
  color: #5c6475;
}

.stats-bar-value {
  font-weight: 700;
  color: #2d2f39;
}

/* progress bar */
.bar {
  height: 6px;
  background: #e6e4e6;
  border-radius: 6px;
  margin-bottom: 20px;
  overflow: hidden;
}

.bar div {
  height: 100%;
  background: #2da6c9;
  border-radius: 6px;
}

/* mobile */
@media (max-width: 991px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
