/* ---------------------------------------------------------------- */
/* ------------------------ ERROR MODAL --------------------------- */
/* ------------------ (server/validation errors) ------------------ */
/* ---------------------------------------------------------------- */

.form_error_modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 200;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
}
.form_error_modal.is_visible {
	display: flex;
}
.form_error_modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}
.form_error_modal__box {
	position: relative;
	width: 100%;
	max-width: 420px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(0,0,0,0.2);
	padding: 1.5rem 1.75rem;
	border: 2px solid #ff78a5;
	font-family: "Poppins", "Noto Sans", sans-serif;
}
.form_error_modal__title {
	margin: 0 0 0.75rem 0;
    font-family: "humanist531", sans-serif;
	font-size: 1.7rem;
	font-weight: 600;
	color: #c41e5a;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}
.form_error_modal__title::before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;    
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c41e5a'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E") no-repeat center;
	flex-shrink: 0;
}
.form_error_modal__message {
	margin: 1.5rem 0 2.2rem 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #333;
	text-align: center;
}
.form_error_modal__close {
	display: block;
	width: 100%;
	cursor: pointer;
	font-size: 1rem;
	padding: 0.5rem 1rem;
	border: none;
    outline: none;
	border-radius: 12px;
	/* background: linear-gradient(180deg, #ff78a5 0%, #e85a8a 100%); */
    background: var(--rojizomagenta);
	color: #fff;
	font-weight: 600;
	font-family: inherit;
}
.form_error_modal__close:hover,
.form_error_modal__close:focus {
	opacity: 0.95;
	outline: 2px solid #c41e5a;
	outline-offset: 2px;
}
