:root {
	--lemare-share-green: #4b7468;
	--lemare-share-green-dark: #34554c;
	--lemare-share-ink: #24312d;
	--lemare-share-paper: #f5f1e9;
	--lemare-share-line: #d8d5cc;
}

.woocommerce-orders-table__cell-order-actions .lemare-share-magazine {
	background: var(--lemare-share-green) !important;
	border-color: var(--lemare-share-green) !important;
	color: #fff !important;
	border-radius: 0 !important;
}

.lemare-share-manager {
	color: var(--lemare-share-ink);
	max-width: 960px;
}

.lemare-share-manager__header {
	border-left: 5px solid var(--lemare-share-green);
	margin-bottom: 28px;
	padding: 6px 0 6px 22px;
}

.lemare-share-manager__eyebrow,
.lemare-share-card__kind {
	color: var(--lemare-share-green);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .14em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.lemare-share-manager h2,
.lemare-share-card h3 {
	color: var(--lemare-share-ink);
	font-family: Georgia, 'Times New Roman', serif;
	font-weight: 500;
	line-height: 1.08;
}

.lemare-share-manager h2 {
	font-size: clamp(28px, 4vw, 42px);
	margin: 0 0 12px;
}

.lemare-share-manager__header > p:last-child {
	line-height: 1.65;
	margin: 0;
	max-width: 720px;
}

.lemare-share-manager__grid {
	display: grid;
	gap: 18px;
}

.lemare-share-card {
	background: linear-gradient(120deg, #fff 0%, var(--lemare-share-paper) 100%);
	border: 1px solid var(--lemare-share-line);
	border-radius: 0;
	box-shadow: 0 12px 32px rgba(36, 49, 45, .07);
	padding: clamp(20px, 4vw, 32px);
}

.lemare-share-card.is-active {
	border-left: 5px solid var(--lemare-share-green);
}

.lemare-share-card__heading {
	align-items: start;
	display: grid;
	gap: 16px;
	grid-template-columns: auto 1fr auto;
	margin-bottom: 22px;
}

.lemare-share-card__index {
	color: rgba(75, 116, 104, .22);
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 42px;
	line-height: .9;
}

.lemare-share-card h3 {
	font-size: clamp(21px, 3vw, 29px);
	margin: 0;
}

.lemare-share-card__status {
	background: #fff;
	border: 1px solid var(--lemare-share-line);
	color: var(--lemare-share-green-dark);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: .1em;
	padding: 7px 10px;
	text-transform: uppercase;
}

.lemare-share-card.is-active .lemare-share-card__status {
	background: var(--lemare-share-green);
	border-color: var(--lemare-share-green);
	color: #fff;
}

.lemare-share-card__url-row {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr auto;
	margin-bottom: 12px;
}

.lemare-share-card__url-row input {
	background: #fff;
	border: 1px solid var(--lemare-share-line);
	border-radius: 0;
	color: var(--lemare-share-ink);
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 13px;
	min-width: 0;
	padding: 11px 13px;
	width: 100%;
}

.lemare-share-card__actions {
	align-items: stretch;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lemare-share-card__actions form {
	margin: 0;
}

.lemare-share-options {
	background: #edf3f0;
	border: 1px solid #c9d8d3;
	margin-top: 12px;
	padding: 14px;
}

.lemare-share-options[hidden],
.lemare-share-preparing-status[hidden],
.lemare-share-action--secondary[hidden] {
	display: none !important;
}

.lemare-share-options__title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 18px;
	margin: 0 0 10px;
}

.lemare-share-options__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lemare-share-options__hint {
	font-size: 12px;
	line-height: 1.45;
	margin: 10px 0 0;
}

.lemare-share-action {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 0 !important;
	cursor: pointer;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	justify-content: center;
	letter-spacing: .035em;
	line-height: 1.2;
	min-height: 42px;
	padding: 10px 17px;
	text-decoration: none !important;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.lemare-share-action--primary {
	background: var(--lemare-share-green);
	border-color: var(--lemare-share-green);
	color: #fff !important;
}

.lemare-share-action--primary:hover,
.lemare-share-action--primary:focus-visible {
	background: var(--lemare-share-green-dark);
	border-color: var(--lemare-share-green-dark);
}

.lemare-share-action--secondary {
	background: #fff;
	border-color: var(--lemare-share-green);
	color: var(--lemare-share-green-dark) !important;
}

.lemare-share-action--whatsapp {
	background: #237b4b;
	border-color: #237b4b;
	color: #fff !important;
}

.lemare-share-action--whatsapp:hover,
.lemare-share-action--whatsapp:focus-visible {
	background: #185f39;
	border-color: #185f39;
}

.lemare-share-action.is-success {
	background: var(--lemare-share-green-dark);
	border-color: var(--lemare-share-green-dark);
	color: #fff !important;
}

.lemare-share-action:disabled {
	cursor: wait;
	opacity: .86;
}

.lemare-share-action__spinner {
	animation: lemare-share-spin .75s linear infinite;
	border: 2px solid rgba(255, 255, 255, .38);
	border-radius: 50%;
	border-top-color: #fff;
	display: none;
	height: 16px;
	margin-right: 9px;
	width: 16px;
}

[data-create-magazine-form].is-submitting .lemare-share-action__spinner {
	display: inline-block;
}

.lemare-share-preparing-status {
	color: var(--lemare-share-green-dark);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
	margin: 10px 0 0;
}

.lemare-share-card.is-preparing {
	border-left: 5px solid var(--lemare-share-green);
}

@keyframes lemare-share-spin {
	to {
		transform: rotate(360deg);
	}
}

.lemare-share-action--danger {
	background: transparent;
	border-color: #a95f59;
	color: #85413c;
}

.lemare-share-action:focus-visible,
.lemare-share-card__url-row input:focus-visible {
	outline: 3px solid rgba(75, 116, 104, .32);
	outline-offset: 2px;
}

.lemare-share-card__note {
	line-height: 1.55;
	margin: 0 0 18px;
	max-width: 700px;
}

.lemare-share-manager__privacy {
	background: #edf3f0;
	border: 1px solid #c9d8d3;
	border-radius: 0;
	font-size: 13px;
	line-height: 1.55;
	margin: 22px 0 0;
	padding: 14px 17px;
}

.lemare-share-feedback {
	color: var(--lemare-share-green-dark);
	font-size: 13px;
	font-weight: 700;
	margin: 10px 0 0;
}

@media (max-width: 620px) {
	.lemare-share-card__heading {
		grid-template-columns: auto 1fr;
	}

	.lemare-share-card__status {
		grid-column: 1 / -1;
		justify-self: start;
	}

	.lemare-share-card__url-row {
		grid-template-columns: 1fr;
	}

	.lemare-share-card__actions,
	.lemare-share-card__actions form,
	.lemare-share-options__actions,
	.lemare-share-action {
		width: 100%;
	}
}
