/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.metages-change-suggestion-honeypot {
	left: -9999px;
	position: absolute;
}

.metages-change-suggestion-form {
	background: #fff;
	border: 1px solid #dbe3e6;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba( 24, 48, 58, 0.08 );
	margin: 30px 0;
	overflow: hidden;
}

.metages-change-suggestion-form input,
.metages-change-suggestion-form select,
.metages-change-suggestion-form textarea {
	border: 1px solid #b7c5ca;
	border-radius: 4px;
	box-sizing: border-box;
	max-width: 100%;
	padding: 10px 12px;
	width: 100%;
}

.metages-change-suggestion-form input:focus,
.metages-change-suggestion-form select:focus,
.metages-change-suggestion-form textarea:focus {
	border-color: #267c8c;
	box-shadow: 0 0 0 3px rgba( 38, 124, 140, 0.15 );
	outline: 0;
}

.metages-change-suggestion-form__header {
	background: #e8f4f5;
	border-bottom: 1px solid #cce0e3;
	padding: 28px 32px;
}

.metages-change-suggestion-form__header h3,
.metages-change-suggestion-form__section h4 {
	margin: 0;
}

.metages-change-suggestion-form__header p:last-child,
.metages-change-suggestion-form__section-heading p {
	margin: 8px 0 0;
}

.metages-change-suggestion-form__eyebrow {
	color: #246878;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.metages-change-suggestion-form__content {
	display: flex;
	flex-direction: column;
	padding: 8px 32px 30px;
}

.metages-change-suggestion-form__section {
	border: 0;
	border-bottom: 1px solid #e4eaec;
	margin: 0;
	padding: 28px 0;
}

.metages-change-suggestion-form__section-heading {
	margin-bottom: 18px;
}

.metages-change-suggestion-form__section-heading h4 {
	color: #24353b;
	font-size: 20px;
}

.metages-change-suggestion-form__section-heading p,
.metages-change-suggestion-form__actions p {
	color: #5b696e;
	font-size: 14px;
}

.metages-change-suggestion-form__grid {
	display: grid;
	gap: 18px 22px;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
}

.metages-change-suggestion-form__field {
	margin: 0;
}

.metages-change-suggestion-form__field label {
	color: #26373d;
	display: block;
	font-weight: 700;
	margin-bottom: 7px;
}

.metages-change-suggestion-form__field--wide {
	grid-column: 1 / -1;
}

.metages-change-suggestion-form__section--relations {
	background: #fafcfc;
	margin: 0 -32px;
	order: -1;
	padding: 28px 32px;
}

.metages-change-suggestion-contact-card {
	background: #fff;
	border: 1px solid #d8e2e5;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba( 24, 48, 58, 0.04 );
	margin: 18px 0;
	padding: 18px;
}

.metages-change-suggestion-contact-card summary {
	cursor: pointer;
	color: #24353b;
	font-weight: 700;
	padding: 0 6px;
}

.metages-change-suggestion-contact-card summary::marker {
	color: #267c8c;
}

.metages-change-suggestion-contact-card[open] summary {
	margin-bottom: 18px;
}

.metages-change-suggestion-contact-card > p {
	color: #5b696e;
	font-size: 14px;
}

.metages-change-suggestion-contact-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.metages-change-suggestion-contact-actions .button.is-active {
	background: #267c8c;
	border-color: #267c8c;
	color: #fff;
}

.metages-change-suggestion-contact-actions__remove,
.metages-change-suggestion-remove-new-contact {
	color: #a52222;
}

.metages-change-suggestion-delete-relation {
	background: #fff;
	border: 1px solid #d6a4a4;
	border-radius: 4px;
	color: #a52222;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	margin-top: 12px;
	padding: 8px 10px;
}

.metages-change-suggestion-contact-message {
	color: #6b3e22;
	font-weight: 600;
}

.metages-change-suggestion-add-contact {
	margin-top: 8px;
}

.metages-change-suggestion-add-contact,
.metages-change-suggestion-add-collection {
	background: #fff;
	border: 1px dashed #4f98a6;
	border-radius: 5px;
	color: #216c7b;
	font-weight: 700;
	padding: 9px 14px;
}

.metages-change-suggestion-remove-new-contact {
	background: transparent;
	border: 0;
	cursor: pointer;
	float: right;
	font-weight: 700;
	padding: 0;
}

.metages-change-suggestion-contact-card select {
	background: #fff;
	padding: 10px 12px;
	width: 100%;
}

.metages-change-suggestion-contact-card--new {
	background: #fff;
	border-style: dashed;
}

.metages-change-suggestion-form__actions {
	align-items: center;
	background: linear-gradient( 90deg, #f4fafb, #e8f4f5 );
	border: 1px solid #cce0e3;
	border-radius: 7px;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-top: 28px;
	padding: 20px 22px;
}

.metages-change-suggestion-form__actions p {
	margin: 0;
}

.metages-change-suggestion-form__actions .btn {
	background: #257b8a;
	border: 2px solid #257b8a;
	border-radius: 5px;
	box-shadow: 0 4px 10px rgba( 26, 99, 112, 0.25 );
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.01em;
	padding: 12px 20px;
	text-transform: none;
}

.metages-change-suggestion-form__actions .btn:hover,
.metages-change-suggestion-form__actions .btn:focus {
	background: #1d6572;
	border-color: #1d6572;
	box-shadow: 0 5px 13px rgba( 26, 99, 112, 0.3 );
	color: #fff;
}

.metages-change-suggestion-form__success {
	background: #e7f5eb;
	color: #1d6034;
	margin: 0;
	padding: 22px 32px;
}

@media ( max-width: 767px ) {
	.metages-change-suggestion-form__header,
	.metages-change-suggestion-form__content {
		padding-left: 20px;
		padding-right: 20px;
	}

	.metages-change-suggestion-form__grid {
		grid-template-columns: 1fr;
	}

	.metages-change-suggestion-form__section--relations {
		margin-left: -20px;
		margin-right: -20px;
		padding-left: 20px;
		padding-right: 20px;
	}

	.metages-change-suggestion-form__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.metages-change-suggestion-form__actions .btn {
		text-align: center;
	}
}
