.launch-banner {
	background: #f8f9fa;
	padding: 4rem 1rem;
	border-bottom: 4px solid #5ea838;
}

.launch-banner img {
	max-width: 600px;
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
	margin-bottom: 2rem;
}

.launch-description {
	max-width: 800px;
	margin: 0 auto;
	text-align: left;
	background: #ffffff;
	padding: 1.5rem 2rem;
	border-radius: 10px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.launch-description strong {
	color: #5ea838;
}

.rsa-green {
	background-color: #5ea838;
	color: white;
	padding: 10px;
	border-radius: 4px;
	display: inline-block;
	margin-top: 1rem;
	font-weight: 600;
}

/* ==========================================
   Fix scroll div limiting iframe height
========================================== */
.scrollable-terms-div {
	flex: 1;
	/* allow it to grow within the card */
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	height: auto;
	/* remove any fixed height */
	max-height: none;
	/* prevent clipping */
	overflow: visible;
	/* no more internal scrollbar */
	margin-top: 2rem;
}

.pdf-viewer-wrapper {
	position: relative;
	width: 100%;
	height: 75vh;
	overflow: hidden;
	border-radius: 0.5rem;
	border: 1px solid #ccc;
}

.pdf-viewer {
	width: 100%;
	height: 100%;
	border: none;
}

.scrollable-terms-div h4 {
	color: #73bf44;
	font-weight: 600;
}

/* ============================================================
   Terms & Conditions Layout - RSA Loyalty
============================================================ */
.terms-section {
	background-color: #73bf44;
	padding: 5rem 0;
	min-height: 100vh;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

/* White card container */
.terms-card {
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
	padding: 3rem;
	width: 95%;
	max-width: 1300px;
	height: 90vh;
	/* total height for viewer */
	display: flex;
	flex-direction: column;
	overflow: hidden;
	/* hides scrollbars outside card */
}

/* Header section stays fixed at top of card */
.terms-header {
	flex-shrink: 0;
	margin-bottom: 1rem;
}

.terms-header h2 {
	color: #73bf44;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.terms-header h4 {
	font-weight: 600;
	color: #333;
}

/* PDF container scrolls internally */
.pdf-scroll-container {
	flex-grow: 1;
	overflow-y: auto;
	border: 1px solid #dee2e6;
	border-radius: 0.75rem;
	box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.05);
}

.pdf-scroll-container {
	position: relative;
	overflow-y: auto;
	mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
}

.pdf-scroll-container::-webkit-scrollbar {
	width: 10px;
}

.pdf-scroll-container::-webkit-scrollbar-thumb {
	background-color: #73bf44;
	border-radius: 5px;
}

.pdf-scroll-container::-webkit-scrollbar-track {
	background-color: #f8f9fa;
}

/* The iframe fills the scrollable area */
.pdf-viewer {
	width: 100%;
	height: 100%;
	border: none;
}

/* Footer text stays pinned at bottom */
.terms-card>p {
	flex-shrink: 0;
	margin-top: 1rem;
	color: #6c757d;
}

/* =========================================================
   MAP SECTION HEADERS
========================================================= */

.map-section {
	text-align: center;
}

.map-title {
	color: #73bf44;
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 0.5rem;
}

.map-subtitle {
	color: #5a5a5a;
	font-size: 1.1rem;
	font-weight: 500;
	margin-bottom: 2.5rem;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* ============================================================
   SIDE PANEL – ADDRESS BLOCK
============================================================ */

.panel-address-block {
	background: #f8f9fa;
	padding: 1rem;
	border-radius: 0.75rem;
	border-left: 4px solid #73bf44;
	margin: 1.5rem 0;
}

.panel-address-label {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 0.4rem;
	color: #333;
}

.panel-address {
	font-size: 0.95rem;
	color: #555;
	line-height: 1.45;
}

/* ======================================================================
   MOBILE FIX — Full PDF Height Inside Modal (Desktop untouched)
====================================================================== */
@media (max-width: 768px) {

	/* Fullscreen modal container */
	.modal-dialog {
		margin: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		height: 100vh !important;
	}

	/* Modal must fill screen */
	.modal-content {
		height: 100vh !important;
		display: flex;
		flex-direction: column;
		border-radius: 0 !important;
	}

	/* Header and footer fixed height */
	.modal-header,
	.modal-footer {
		flex-shrink: 0;
	}

	/* Body expands to fill space */
	.modal-body {
		flex-grow: 1 !important;
		padding: 0 !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
		position: relative;
	}

	/* NEW: wrapper must fill the modal-body */
	.pdf-modal-wrapper {
		height: 100% !important;
		width: 100% !important;
		display: flex;
	}

	/* NEW: iframe fills its wrapper */
	.pdf-modal-iframe {
		height: 100% !important;
		width: 100% !important;
		border: none;
		display: block;
		flex-grow: 1;
	}
}

/* Modal must be above side panel */
#side-panel {
    z-index: 9999;
}

.modal-backdrop {
    z-index: 10000 !important;
}

.modal {
    z-index: 10001 !important;
}