/* Rise Geo-Location Notice Styles */
#rise-geo-root {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	line-height: 1.5;
	box-sizing: border-box;
}

#rise-geo-root *,
#rise-geo-root *::before,
#rise-geo-root *::after {
	box-sizing: inherit;
}

/* Top Announcement Bar */
.rise-geo-banner {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999999;
	background-color: var(--rise-geo-bg, #1e293b);
	color: var(--rise-geo-text, #ffffff);
	padding: 14px 20px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
	animation: riseGeoSlideDown 0.3s ease-out forwards;
}

body.admin-bar .rise-geo-banner {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .rise-geo-banner {
		top: 46px;
	}
}

.rise-geo-banner-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.rise-geo-copy {
	flex: 1 1 320px;
}

.rise-geo-title {
	display: block;
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 2px 0;
	color: var(--rise-geo-text, #ffffff);
}

.rise-geo-desc {
	margin: 0;
	font-size: 13.5px;
	opacity: 0.92;
	color: var(--rise-geo-text, #ffffff);
}

.rise-geo-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.rise-geo-btn-primary {
	display: inline-block;
	background-color: var(--rise-geo-accent, #d97706);
	color: var(--rise-geo-accent-text, #ffffff) !important;
	text-decoration: none !important;
	font-size: 13.5px;
	font-weight: 600;
	padding: 9px 18px;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.15s ease;
	white-space: nowrap;
}

.rise-geo-btn-primary:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.rise-geo-btn-secondary {
	background: transparent;
	color: var(--rise-geo-text, #ffffff);
	border: 1px solid rgba(255, 255, 255, 0.35);
	font-size: 13.5px;
	font-weight: 500;
	padding: 8px 14px;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.2s ease;
	white-space: nowrap;
}

.rise-geo-btn-secondary:hover {
	background-color: rgba(255, 255, 255, 0.12);
}

.rise-geo-close {
	background: transparent;
	border: none;
	color: var(--rise-geo-text, #ffffff);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.75;
	padding: 4px 6px;
}

.rise-geo-close:hover {
	opacity: 1;
}

/* Center Modal Overlay */
.rise-geo-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(3px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	animation: riseGeoFadeIn 0.25s ease-out forwards;
}

.rise-geo-modal {
	position: relative;
	width: 100%;
	max-width: 460px;
	background-color: var(--rise-geo-bg, #1e293b);
	color: var(--rise-geo-text, #ffffff);
	border-radius: 14px;
	padding: 32px 28px 28px;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
	text-align: center;
}

.rise-geo-modal .rise-geo-close {
	position: absolute;
	top: 12px;
	right: 14px;
}

.rise-geo-modal .rise-geo-title {
	font-size: 20px;
	margin-bottom: 10px;
}

.rise-geo-modal .rise-geo-desc {
	font-size: 15px;
	margin-bottom: 22px;
}

.rise-geo-modal .rise-geo-actions {
	justify-content: center;
	flex-direction: column;
}

.rise-geo-modal .rise-geo-btn-primary,
.rise-geo-modal .rise-geo-btn-secondary {
	width: 100%;
	padding: 11px 18px;
	font-size: 14.5px;
}

@keyframes riseGeoSlideDown {
	from {
		transform: translateY(-100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes riseGeoFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
