/* Shared popup used by the kit designer and the brief section */
.gckd-modal {
	--gckd-plum: #2a1633;
	--gckd-aqua: #1cc9ba;
	--gckd-muted: rgba(42, 22, 51, .72);
	--gckd-line: rgba(42, 22, 51, .2);
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Jost', sans-serif;
}

.gckd-modal *,
.gckd-modal *::before,
.gckd-modal *::after {
	box-sizing: border-box;
}

.gckd-modal[hidden] {
	display: none;
}

.gckd-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(42, 22, 51, .72);
}

.gckd-modal__box {
	position: relative;
	background: #fff;
	color: var(--gckd-plum);
	border-radius: 14px;
	padding: 36px 32px 28px;
	width: 92%;
	max-width: 420px;
	box-shadow: 0 24px 60px rgba(27, 16, 36, .35);
}

.gckd-modal .gckd-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 32px;
	height: 32px;
	min-width: 32px;
	padding: 0;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: #f1eef3;
	color: var(--gckd-plum);
	font: 400 20px/1 'Jost', sans-serif;
	box-shadow: none;
	cursor: pointer;
}

.gckd-modal .gckd-modal__close:hover {
	background: var(--gckd-plum);
	color: #fff;
}

.gckd-modal .gckd-modal__title {
	font-family: 'Josefin Sans', sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.08;
	margin: 0 0 8px;
	padding-right: 36px;
	color: var(--gckd-plum);
}

.gckd-modal .gckd-modal__subtitle {
	font-size: 15px;
	line-height: 1.5;
	color: var(--gckd-muted);
	margin: 0 0 22px;
}

.gckd-modal .gckd-field {
	margin: 0 0 16px;
}

.gckd-modal .gckd-field label {
	display: block;
	font: 600 12px/1 'Jost', sans-serif;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--gckd-plum);
	margin: 0 0 8px;
}

.gckd-modal .gckd-field input {
	width: 100%;
	height: 44px;
	padding: 0 14px;
	background: #fff;
	border: 1px solid var(--gckd-line);
	border-radius: 7px;
	font: 400 15px 'Jost', sans-serif;
	color: var(--gckd-plum);
	box-shadow: none;
}

.gckd-modal .gckd-field input::placeholder {
	color: rgba(42, 22, 51, .42);
}

.gckd-modal .gckd-field input:focus {
	outline: none;
	border-color: var(--gckd-aqua);
	box-shadow: 0 0 0 3px rgba(28, 201, 186, .22);
}

.gckd-modal .gckd-submit-btn {
	width: 100%;
	height: 48px;
	margin: 4px 0 0;
	padding: 0 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 5px;
	background: #2a1633;
	color: #fff;
	font: 600 13px/1 'Jost', sans-serif;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .15s;
}

.gckd-modal .gckd-submit-btn:hover {
	background: #3a1d47;
}

.gckd-modal .gckd-submit-btn:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.gckd-modal .gckd-feedback {
	font-size: 14px;
	margin: 14px 0 0;
	min-height: 0;
}

.gckd-feedback {
	font-size: 12px;
	margin: 0;
	min-height: 16px;
}

.gckd-feedback.is-error {
	color: #d64545;
}

.gckd-feedback.is-success {
	color: #167a4f;
}

.gckd-modal .gckd-feedback.is-error {
	color: #c0392b;
}

.gckd-modal .gckd-feedback.is-success {
	color: #167a4f;
}
