/* Wedding Hashtag Generator — styles
   Palette: blush background, deep rose accent, warm gold trim, plum-brown text.
   Typeface: Poppins throughout (loaded via Google Fonts in the plugin file). */

.whg-wrapper {
	--whg-blush: #fff2f7;
	--whg-card: #ffffff;
	--whg-pink: #f6b8d0;
	--whg-rose: #d6547b;
	--whg-rose-dark: #ac3b5c;
	--whg-gold: #cda05d;
	--whg-text: #4a2b36;
	--whg-text-muted: #93707d;
	--whg-chip-bg: #fdeaf1;
	--whg-chip-border: #f2bfd4;
	--whg-chip-copied: #f6ecd8;

	font-family: 'Poppins', sans-serif;
	color: var(--whg-text);
	background: var(--whg-blush);
	padding: 48px 20px;
	display: flex;
	justify-content: center;
	box-sizing: border-box;
}

.whg-wrapper *,
.whg-wrapper *::before,
.whg-wrapper *::after {
	box-sizing: border-box;
}

.whg-card {
	position: relative;
	width: 100%;
	max-width: 440px;
	background: var(--whg-card);
	border-radius: 6px;
	padding: 44px 34px 36px;
	box-shadow: 0 1px 0 rgba(214, 84, 123, 0.08);
	border: 1px solid #f7dbe6;
}

/* Lace-scallop trim along the top edge, echoing bridal lace instead of a generic card shadow */
.whg-card::before {
	content: '';
	position: absolute;
	top: -13px;
	left: 18px;
	right: 18px;
	height: 20px;
	background-image: radial-gradient(circle at 10px 0, transparent 9px, var(--whg-card) 10px);
	background-size: 20px 20px;
	background-position: top;
	background-repeat: repeat-x;
	filter: drop-shadow(0 -1px 0 #f7dbe6);
}

.whg-header {
	text-align: center;
	margin-bottom: 28px;
}

.whg-heart {
	display: inline-flex;
	width: 26px;
	height: 24px;
	margin-bottom: 10px;
	color: var(--whg-rose);
}

.whg-heart svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.whg-title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--whg-text);
}

.whg-subtitle {
	margin: 0;
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--whg-text-muted);
	max-width: 300px;
	margin-inline: auto;
}

.whg-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.whg-names-row {
	display: flex;
	align-items: flex-end;
	gap: 10px;
}

.whg-field {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.whg-field label {
	font-size: 12.5px;
	font-weight: 500;
	color: var(--whg-text-muted);
}

.whg-optional {
	font-weight: 400;
	opacity: 0.75;
}

.whg-and {
	font-size: 16px;
	font-weight: 600;
	color: var(--whg-pink);
	padding-bottom: 11px;
}

.whg-field input[type="text"],
.whg-field input[type="date"] {
	font-family: inherit;
	font-size: 14.5px;
	color: var(--whg-text);
	background: #fffbfd;
	border: 1.5px solid #f2d3e0;
	border-radius: 5px;
	padding: 10px 12px;
	width: 100%;
	outline: none;
	transition: border-color 0.15s ease;
}

.whg-field input::placeholder {
	color: #cba3b1;
}

.whg-field input:focus-visible {
	border-color: var(--whg-rose);
}

.whg-style-label {
	font-size: 12.5px;
	font-weight: 500;
	color: var(--whg-text-muted);
	display: block;
	margin-bottom: 8px;
}

.whg-style-toggle {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.whg-style-btn {
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	color: var(--whg-rose-dark);
	background: #fff;
	border: 1.5px solid var(--whg-chip-border);
	border-radius: 999px;
	padding: 7px 16px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.whg-style-btn:hover {
	border-color: var(--whg-rose);
}

.whg-style-btn.is-active {
	background: var(--whg-rose);
	border-color: var(--whg-rose);
	color: #fff;
}

.whg-style-btn:focus-visible,
.whg-submit:focus-visible,
.whg-chip:focus-visible {
	outline: 2px solid var(--whg-gold);
	outline-offset: 2px;
}

.whg-submit {
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: var(--whg-rose);
	border: none;
	border-radius: 5px;
	padding: 13px;
	margin-top: 4px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.whg-submit:hover {
	background: var(--whg-rose-dark);
}

.whg-error {
	text-align: center;
	font-size: 13px;
	color: var(--whg-rose-dark);
	margin: 14px 0 0;
}

.whg-results {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px dashed var(--whg-chip-border);
}

.whg-results-label {
	margin: 0 0 12px;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--whg-text-muted);
	text-align: center;
}

.whg-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.whg-chip {
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	color: var(--whg-rose-dark);
	background: var(--whg-chip-bg);
	border: 1px solid var(--whg-chip-border);
	border-radius: 999px;
	padding: 8px 14px;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
}

.whg-chip:hover {
	transform: translateY(-1px);
}

.whg-chip.is-copied {
	background: var(--whg-chip-copied);
	border-color: var(--whg-gold);
	color: #8a6a2f;
}

@media (max-width: 420px) {
	.whg-names-row {
		flex-direction: column;
		align-items: stretch;
	}

	.whg-and {
		display: none;
	}

	.whg-card {
		padding: 36px 22px 30px;
	}
}
