h2 {
	margin: 0;
}

.modal {
	display: flex;
    justify-content: center;
	align-items: center;
	position: fixed;
	z-index: 99;
	left: 0;
	top: 0;
	width: 100%;
	height: 100vh;
	overflow: auto;
	background-color: rgb(0 0 0 / 60%);
}

.wrapper {
	width: min(90%, 700px);
	max-height: 100%;
}

.modal-box {
	background-color: #fefefe;
	padding: 0;
	border: 1px solid #888;
	width: 100%;
	border-radius: 10px;
	box-shadow: 0 0px 40px 0px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	padding: 42px;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
    margin-bottom: 32px;
}

.modal-header h2 {
	color: #333;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

.modal-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	margin-bottom: 32px;
}

.field .field-label {
	font-size: 16px;
	color: #757575;
	font-weight: 600;
	margin-bottom: 6px;
}

textarea {
	/* resize: none; */
	height: 100px;
}

.field input,
.field textarea,
.field select {
	padding: 16.5px 14px;
	border-radius: 9px;
	box-sizing: border-box;
	color: #272727;
	outline: 0;
	width: 100% !important;
	font-size: 14px;
	font-weight: 600;
	border: 0;
	background: #f1f4ff;
}

.field :disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.field .error {
	outline: 1px solid #ef4444 !important;
}

.field .field-error {
    letter-spacing: -0.2px;
	font-size: 12px;
	color: #fa4251;
	font-weight: 600;
}


.modal-actions {
	display: flex;
	gap: 8px;
	justify-content: center;
}

.button-submit {
	border: 0;
	background: #fa4251;
	padding: 12px 32px;
	font-size: 16px;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 600;
	color: white;
}

.button-close {
	border: 0;
	background: white;
	padding: 12px 32px;
	font-size: 16px;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 600;
	color: #acacac;
}

button[type='submit']:hover {
	background-color: #45a049;
}

.modal-enter-active,
.modal-leave-active {
	transition: opacity 0.1s;
}

.modal-enter-from,
.modal-leave-to {
	opacity: 0;
}
