/**
 * Service modal styles
 *
 * @package MioPizza
 */

.mio-service-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: none;
	z-index: 2147483600;
}

.mio-service-modal {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(92vw, 440px);
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	z-index: 2147483601;
	padding: 20px;
	display: none;
	text-align: center;
}

.mio-service-title {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 800;
}

.mio-service-sub {
	margin: 0 0 18px;
	color: #555;
	font-size: 14px;
}

.mio-service-actions {
	display: grid;
	gap: 12px;
}

.mio-btn {
	appearance: none;
	border: 0;
	border-radius: 12px;
	padding: 14px 16px;
	font-weight: 800;
	cursor: pointer;
	width: 100%;
}

.mio-btn--primary {
	background: #0a7f2f;
	color: #fff;
}

.mio-btn--secondary {
	background: #e02b20;
	color: #fff;
}

.mio-addr {
	margin: 10px 0 0;
	display: none;
}

.mio-addr input {
	width: 100%;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid #ccc;
	font-size: 14px;
}

.mio-addr-suggest {
	display: none;
	gap: 6px;
	margin-top: 8px;
	max-height: min(34vh, 260px);
	overflow: auto;
	text-align: left;
}

.mio-addr-suggest__item,
.mio-addr-suggest__empty {
	width: 100%;
	border: 1px solid #d8e7dc;
	border-radius: 12px;
	background: #fffdf7;
	color: #1f2a24;
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.25;
	text-align: left;
}

.mio-addr-suggest__item {
	cursor: pointer;
}

.mio-addr-suggest__item:hover,
.mio-addr-suggest__item:focus {
	border-color: #0a7f2f;
	background: #f4fff7;
	outline: none;
}

.mio-addr-suggest__empty {
	color: #6b7280;
	font-weight: 700;
}

/* NEW widget: arrondi comme les boutons */
.mio-addr gmpx-place-autocomplete,
.mio-addr gmp-place-autocomplete {
	width: 100%;
	display: block;
	--gmpx-border-radius: 12px;
}

.mio-err {
	color: #c00;
	font-weight: 700;
	display: none;
	margin-top: 8px;
}

