/* ============================================================
   jmodal — Modern Alert theme (additive, non-destructive)
   Load this AFTER jmodal.css. Does not override any existing
   selector — everything below is scoped under .jmodal-modern.
   ============================================================ */

.jmodal-window .jmodal-box.jmodal-modern {
	border-radius: 0.875rem;
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.18);
	max-width: 26.25rem;
}

/* Keep the close (X) button, but strip the colored title bar look */
.jmodal-window .jmodal-box.jmodal-modern .jmodal-title {
	border-bottom: none;
	background: transparent;
	padding: 0;
	min-height: 0;
}
.jmodal-window .jmodal-box.jmodal-modern .jmodal-title h3 {
	display: none;
}
.jmodal-window .jmodal-box.jmodal-modern .jmodal-title .jmodal-close-btn {
	top: 1.125rem;
	right: 1.125rem;
	margin-top: 0;
	z-index: 2;
}

.jmodal-window .jmodal-box.jmodal-modern .jmodal-text {
	padding: 1.75rem 1.5rem 0.5rem;
	text-align: center;
	max-width: none;
}

.jmodal_modern_icon {
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
	font-size: 1.375rem;
}

.jmodal_modern_title {
	font-family: exo2, ubuntu, Calibri;
	font-size: 1rem;
	font-weight: 600;
	color: #303030;
	margin: 0 0 0.625rem;
}

.jmodal_modern_msg {
	font-family: exo2, ubuntu, Calibri;
	font-size: 0.875rem;
	color: #555555;
	line-height: 1.5;
	margin: 0;
}

/* Buttons: flat, full-width, evenly split */
.jmodal-window .jmodal-box.jmodal-modern .jmodal-buttons {
	display: flex;
	gap: 0.625rem;
	padding: 1.5rem;
	border-top: none;
	background: transparent;
}
.jmodal-window .jmodal-box.jmodal-modern .jmodal-buttons a.jmodal-btn {
	flex: 1;
	border-radius: 0.5rem;
	padding: 0.625rem 0.9375rem;
	font-size: 0.875rem;
	font-weight: 500;
	margin-left: 0 !important;
}
/* Neutral/ghost look for any button that isn't given a btn-* color class */
.jmodal-window .jmodal-box.jmodal-modern .jmodal-buttons a.jmodal-btn:not([class*="btn-"]) {
	background: transparent;
	border: 0.0625rem solid #d8d8d8;
	color: #555;
}
.jmodal-window .jmodal-box.jmodal-modern .jmodal-buttons a.jmodal-btn:not([class*="btn-"]):hover {
	background: #f5f5f5;
}

/* Backdrop blur — only applies when jmodal-modern-backdrop class is present
   (added via jmodal_modern_alert's blurBackdrop option), so ordinary jmodal()
   calls are completely unaffected. */
.jmodal-window.jmodal-modern-backdrop {
	backdrop-filter: blur(0.25rem);
	-webkit-backdrop-filter: blur(0.25rem);
}

@media only screen and (max-width: 26.25rem) {
	.jmodal-window .jmodal-box.jmodal-modern {
		width: 92%;
		max-width: 92%;
	}
}