/* Isolate from WP jquery-ui-dialog.css + theme float/titlebar conflicts */
.twl-location-prompt-dialog.ui-dialog {
	overflow: visible;
	padding: 0;
	border: 1px solid #c5c5c5;
	box-sizing: border-box;
}

.twl-location-prompt-dialog .ui-dialog-titlebar {
	background: var(--twl-location-prompt-accent, #d0a234);
	color: #fff;
	border: none;
	border-radius: 0;
	height: auto;
	min-height: 0;
	line-height: 1.3;
	padding: 0.75em 1em;
	overflow: hidden; /* contain floated .ui-dialog-title */
	box-sizing: border-box;
}

.twl-location-prompt-dialog .ui-dialog-title {
	float: none;
	width: auto;
	margin: 0;
	color: #fff;
	white-space: normal;
}

.twl-location-prompt-dialog .ui-dialog-content {
	width: 100% !important; /* jQuery sets width:auto; float escape otherwise shrinks this */
	clear: both;
	box-sizing: border-box;
	padding: 1em;
	overflow: auto;
}

.twl-location-prompt-dialog .ui-dialog-content p {
	margin: 0 0 0.75em;
}

.twl-location-prompt-dialog .ui-dialog-content p:last-child {
	margin-bottom: 0;
}

.twl-location-prompt-dialog .ui-dialog-buttonpane {
	border-top: 1px solid #ddd;
	padding: 0.75em 1em;
	margin-top: 0;
	box-sizing: border-box;
}

.twl-location-prompt-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
	float: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	justify-content: flex-end;
}

.twl-location-prompt-dialog .ui-button {
	background: var(--twl-location-prompt-accent, #d0a234);
	color: #fff;
	border: none;
	border-radius: 0;
	padding: 0.5em 1em;
	margin: 0;
	height: auto;
	line-height: 1.25;
	font-size: 14px;
	vertical-align: middle;
	cursor: pointer;
	box-sizing: border-box;
	white-space: nowrap;
}

.twl-location-prompt-dialog .ui-button:hover {
	background: var(--twl-location-prompt-accent-hover, #99792e);
	color: #fff;
}

.twl-location-prompt-dialog .ui-resizable-handle {
	display: none;
}
