.gmp-banner,
.gmp-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background: rgba(0, 0, 0, .42);
}

.gmp-banner[hidden],
.gmp-modal[hidden],
.gmp-floating[hidden] {
	display: none !important;
}

.gmp-banner__content,
.gmp-modal__panel {
	width: min(720px, calc(100vw - 32px));
	margin: 16px;
	padding: 20px;
	background: #fff;
	color: #111;
	border-radius: 8px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, .22);
}

.gmp-banner h2,
.gmp-modal h2 {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.2;
	color: #111;
}

.gmp-banner p,
.gmp-modal p {
	margin: 0 0 14px;
	color: #222;
}

.gmp-links {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.gmp-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.gmp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 15px;
	border: 1px solid #111;
	border-radius: 6px;
	background: #111;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.gmp-button--ghost {
	background: #fff;
	color: #111 !important;
}

.gmp-button:hover {
	opacity: .86;
}

.gmp-modal {
	align-items: center;
}

.gmp-modal__panel {
	position: relative;
	max-height: calc(100vh - 48px);
	overflow: auto;
}

.gmp-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: #f1f1f1;
	cursor: pointer;
}

.gmp-choice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-top: 1px solid #e5e5e5;
}

.gmp-choice small {
	display: block;
	margin-top: 3px;
	color: #555;
}

.gmp-choice input {
	width: 22px;
	height: 22px;
}

.gmp-choice--disabled {
	opacity: .8;
}

.gmp-floating {
	position: fixed;
	right: 14px;
	bottom: 14px;
	z-index: 999998;
}

.gmp-reopen {
	padding: 8px 11px;
	border: 1px solid rgba(0, 0, 0, .2);
	border-radius: 999px;
	background: #fff;
	color: #111;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
	cursor: pointer;
}

.gmp-request-form input,
.gmp-request-form select,
.gmp-request-form textarea {
	width: min(100%, 620px);
}

.gmp-footer-links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
	padding: 12px;
	font-size: 13px;
}

.gmp-footer-links button {
	border: 0;
	padding: 0;
	background: transparent;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}

.gmp-notice {
	padding: 12px 14px;
	margin: 0 0 16px;
	border-left: 4px solid #2271b1;
	background: #f6fbff;
}

.gmp-notice--error {
	border-left-color: #b32d2e;
	background: #fff5f5;
}

@media (max-width: 640px) {
	.gmp-banner {
		align-items: stretch;
	}

	.gmp-banner__content {
		width: 100%;
		margin: 0;
		border-radius: 8px 8px 0 0;
	}

	.gmp-actions {
		flex-direction: column;
	}

	.gmp-button {
		width: 100%;
	}
}
