#gls-pudo-wrapper {
	margin: 16px 0;
}

#gls-pudo-wrapper[hidden] {
	display: none;
}

#gls-pudo-wrapper .button {
	margin-bottom: 10px;
}

.gls-pudo-selected {
	background: #f6f7f7;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	padding: 10px 12px;
}

.gls-pudo-selected-label {
	font-weight: 600;
	margin-right: 6px;
}

.gls-pudo-status {
	margin: 10px 0 0;
}

.gls-pudo-status.is-error {
	color: #b32d2e;
}

.gls-pudo-status.is-info {
	color: #135e96;
}

.gls-pudo-modal {
	align-items: center;
	display: none;
	inset: 0;
	justify-content: center;
	position: fixed;
	z-index: 9999;
}

.gls-pudo-modal.is-open {
	display: flex;
}

.gls-pudo-modal-overlay {
	background: rgba(0, 0, 0, 0.6);
	inset: 0;
	position: absolute;
}

.gls-pudo-modal-content {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
	height: min(820px, 92vh);
	overflow: hidden;
	position: relative;
	width: min(1100px, 96vw);
	z-index: 1;
}

.gls-pudo-modal-header {
	align-items: center;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	justify-content: space-between;
	padding: 16px 20px;
}

.gls-pudo-modal-header h3 {
	margin: 0;
}

.gls-pudo-modal-close {
	background: transparent;
	border: 0;
	cursor: pointer;
	font-size: 30px;
	line-height: 1;
	padding: 0;
}

.gls-pudo-modal-close[hidden] {
	display: none;
}

.gls-pudo-modal-body {
	height: calc(100% - 66px);
	padding: 0;
}

.gls-pudo-widget-host {
	background: #fff;
	height: 100%;
	min-height: 420px;
}

.gls-pudo-widget-host gls-dpm {
	display: block;
	height: 100%;
}

body.gls-pudo-modal-open {
	overflow: hidden;
}

#place_order.gls-place-order-disabled {
	opacity: 0.6;
}

.gls-place-order-warning {
	color: #e2401c;
	font-size: 0.85em;
	margin-top: 8px;
}

@media (max-width: 640px) {
	.gls-pudo-modal-content {
		height: 94vh;
		width: 96vw;
	}

	.gls-pudo-modal-header {
		padding: 12px 16px;
	}
}
