body.rental-alert-open {
	overflow: hidden;
}

.rental-alert-overlay {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(15, 23, 42, 0.58);
	opacity: 0;
	backdrop-filter: blur(4px);
	transition: opacity 0.18s ease;
}

.rental-alert-overlay.is-visible {
	opacity: 1;
}

.rental-alert-dialog {
	position: relative;
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 18px;
	width: 100%;
	max-width: 520px;
	max-height: calc(100dvh - 48px);
	padding: 30px;
	overflow-y: auto;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 28px 80px rgba(15, 23, 42, 0.26);
	transform: translateY(10px) scale(0.98);
	transition: transform 0.18s ease;
}

.rental-alert-overlay.is-visible .rental-alert-dialog {
	transform: translateY(0) scale(1);
}

.rental-alert-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 17px;
	background: #eff6ff;
	color: #2563eb;
	font-size: 25px;
	font-weight: 900;
}

.rental-alert-success .rental-alert-icon {
	background: #ecfdf3;
	color: #039855;
}

.rental-alert-warning .rental-alert-icon {
	background: #fffaeb;
	color: #dc6803;
}

.rental-alert-danger .rental-alert-icon {
	background: #fef3f2;
	color: #d92d20;
}

.rental-alert-content {
	min-width: 0;
	padding-top: 1px;
}

.rental-alert-content h2 {
	margin: 0 0 10px;
	color: #101828;
	font-size: 23px;
	font-weight: 850;
	line-height: 1.3;
	letter-spacing: -0.04em;
}

.rental-alert-content p {
	margin: 0;
	color: #475467;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.7;
	letter-spacing: -0.025em;
	white-space: pre-line;
	word-break: keep-all;
}

.rental-alert-actions {
	display: flex;
	grid-column: 1 / -1;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 12px;
}

.rental-alert-button {
	min-width: 112px;
	height: 50px;
	padding: 0 22px;
	border: 0;
	border-radius: 13px;
	font-size: 17px;
	font-weight: 850;
	cursor: pointer;
}

.rental-alert-cancel {
	border: 1px solid #d0d5dd;
	background: #fff;
	color: #344054;
}

.rental-alert-confirm {
	background: #2563eb;
	color: #fff;
}

.rental-alert-success .rental-alert-confirm {
	background: #039855;
}

.rental-alert-warning .rental-alert-confirm {
	background: #dc6803;
}

.rental-alert-danger .rental-alert-confirm {
	background: #d92d20;
}

.rental-alert-button:focus-visible {
	outline: 3px solid rgba(37, 99, 235, 0.22);
	outline-offset: 2px;
}

/* 보스 사이즈입력 저장완료 모달: 공용 success 초록색을 브랜드 색상으로 교체 */
body.boss-size-page .rental-alert-success .rental-alert-icon {
	background: #0e110f;
	color: #c8f31d;
}

body.boss-size-page .rental-alert-success .rental-alert-confirm {
	background: #0e110f;
	color: #fff;
}

body.boss-size-page .rental-alert-success .rental-alert-confirm:hover {
	background: #292e2a;
}

body.boss-size-page .rental-alert-success .rental-alert-confirm:focus-visible {
	outline-color: rgba(14, 17, 15, 0.28);
}

@media (max-width: 480px) {
	.rental-alert-overlay {
		align-items: flex-end;
		padding: 12px;
	}

	.rental-alert-dialog {
		grid-template-columns: 50px minmax(0, 1fr);
		gap: 14px;
		max-width: none;
		max-height: calc(100dvh - 24px);
		padding: 24px 20px 20px;
		border-radius: 22px;
	}

	.rental-alert-icon {
		width: 50px;
		height: 50px;
		border-radius: 15px;
		font-size: 22px;
	}

	.rental-alert-content h2 {
		margin-bottom: 8px;
		font-size: 21px;
	}

	.rental-alert-content p {
		font-size: 17px;
		line-height: 1.65;
	}

	.rental-alert-actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 10px;
	}

	.rental-alert-actions .rental-alert-button:only-child {
		grid-column: 1 / -1;
	}

	.rental-alert-button {
		width: 100%;
		height: 50px;
		font-size: 16px;
	}
}
