.csr-modal-open {
	overflow: hidden;
}

.csr-overlay {
	background: rgba(29, 29, 27, 0.55);
	inset: 0;
	position: fixed;
	z-index: 99998;
}

.csr-modal {
	background: #fff9ed;
	border: 1px solid #1d1d1b;
	box-shadow: 0 16px 50px rgba(29, 29, 27, 0.28);
	color: #1d1d1b;
	font-family: "Helvetica Light", Arial, Helvetica, sans-serif;
	left: 50%;
	max-height: calc(100vh - 40px);
	max-width: calc(100vw - 32px);
	overflow: auto;
	padding: 30px 28px 26px;
	position: fixed;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 440px;
	z-index: 99999;
}

.csr-modal__header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 18px;
	padding-right: 28px;
}

.csr-modal__header h2 {
	color: #1d1d1b;
	font-size: 21px;
	font-weight: 300;
	line-height: 1.25;
	margin: 0;
}

.csr-close-button {
	appearance: none;
	background: transparent;
	border: 0;
	color: #1d1d1b;
	cursor: pointer;
	font-family: inherit;
	font-size: 26px;
	line-height: 1;
	opacity: 0.55;
	padding: 0;
	position: absolute;
	right: 14px;
	top: 10px;
}

.csr-close-button:hover {
	opacity: 1;
}

.csr-grid {
	display: grid;
	gap: 0 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.csr-form label {
	display: block;
	margin-bottom: 12px;
}

.csr-form label span {
	display: block;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.4;
	margin-bottom: 5px;
}

.csr-form input,
.csr-form select,
.csr-form textarea {
	background: #fff;
	border: 1px solid #1d1d1b;
	border-radius: 0;
	box-sizing: border-box;
	color: #1d1d1b;
	font-family: inherit;
	font-size: 15px;
	padding: 11px 12px;
	width: 100%;
}

.csr-form input:focus,
.csr-form select:focus,
.csr-form textarea:focus {
	box-shadow: inset 0 0 0 1px #1d1d1b;
	outline: none;
}

.csr-form textarea {
	min-height: 64px;
	resize: vertical;
}

.csr-form__actions {
	margin-top: 6px;
}

.csr-form__actions button {
	appearance: none;
	background: #1d1d1b;
	border: 1px solid #1d1d1b;
	border-radius: 0;
	color: #fff9ed;
	cursor: pointer;
	display: block;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	padding: 14px 24px;
	transition: background 0.2s, color 0.2s;
	width: 100%;
}

.csr-form__actions button:hover {
	background: #fff9ed;
	color: #1d1d1b;
}

.csr-form__actions button:disabled {
	cursor: default;
	opacity: 0.55;
}

.csr-form__message {
	font-size: 14px;
	line-height: 1.5;
	margin-top: 12px;
}

.csr-form__message--success {
	color: #1d1d1b;
}

.csr-form__message--error {
	color: #9b3b34;
}

@media (max-width: 640px) {
	.csr-grid {
		grid-template-columns: 1fr;
	}
}
