/**
 * Design System - Modal (overlay + box)
 *
 * Shared backdrop and modal box for currency selector, vendor calendar, etc.
 * Use .gtg-modal on the overlay, .gtg-modal__wrapper for the white box.
 * Optionally: .gtg-modal__backdrop for click-to-close, .gtg-modal__close for X button.
 *
 * Usage:
 * <div class="gtg-modal" id="my-modal">
 *   <div class="gtg-modal__backdrop"></div>
 *   <div class="gtg-modal__wrapper">
 *     <button type="button" class="gtg-modal__close" aria-label="Close">&times;</button>
 *     ... content ...
 *   </div>
 * </div>
 */

/* Overlay: full viewport, centered, blurred backdrop */
.gtg-modal {
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	z-index: 9999999999;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 40px 20px;
	text-align: center;
	background: rgba(0, 0, 0, 0.35);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

/* Optional: invisible layer for click-to-close (place before __wrapper) */
.gtg-modal__backdrop {
	position: absolute;
	inset: 0;
}

/* White content box */
.gtg-modal__wrapper {
	position: relative;
	padding: 40px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
	max-width: 95%;
	width: 450px;
}

/* Optional: close X button (top-right of wrapper) */
.gtg-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: #666;
	cursor: pointer;
	transition: color 0.2s ease;
}

.gtg-modal__close:hover {
	color: #333;
}
