/* Letter Builder front-end styles */

.lb-widget {
	max-width: 720px;
	margin: 0 auto;
	font-size: 16px;
	color: #1d2327;
	box-sizing: border-box;
}

.lb-widget *,
.lb-widget *::before,
.lb-widget *::after {
	box-sizing: border-box;
}

.lb-label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
}

.lb-select {
	width: 100%;
	padding: 12px 14px;
	font-size: 16px;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	background-color: #fff;
	cursor: pointer;
}

.lb-select:focus {
	outline: none;
	border-color: #cf2d2e;
	box-shadow: 0 0 0 1px #cf2d2e;
}

.lb-empty-notice {
	margin-top: 10px;
	color: #646970;
	font-style: italic;
}

/* Step 2 */

.lb-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 20px;
	font-weight: 600;
	text-decoration: none;
	color: #cf2d2e;
	padding: 8px 14px;
	border: 1px solid #cf2d2e;
	border-radius: 999px;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.lb-back:hover,
.lb-back:focus {
	background-color: #cf2d2e;
	color: #fff;
	text-decoration: none;
}

.lb-back-arrow {
	font-size: 16px;
	line-height: 1;
}

.lb-options {
	margin-bottom: 20px;
	padding: 16px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 8px;
}

.lb-options-title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 600;
}

.lb-checkboxes {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lb-checkbox-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	line-height: 1.4;
}

.lb-checkbox-item input[type="checkbox"] {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	cursor: pointer;
}

.lb-placeholder-text {
	margin: 0;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 14px;
	font-weight: 600;
	color: #8c8f94;
	padding: 40px 20px;
	line-height: 1.5;
}

.lb-output {
	margin-top: 10px;
}

.lb-copy-row {
	display: flex;
	margin-bottom: 10px;
}

.lb-copy-row-bottom {
	margin-top: 10px;
	margin-bottom: 0;
}

.lb-copy {
	appearance: none;
	border: none;
	background-color: #cf2d2e;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	padding: 10px 20px;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.1s ease;
}

.lb-copy:hover {
	background-color: #a92425;
}

.lb-copy:active {
	transform: scale(0.98);
}

.lb-copy.lb-copied {
	background-color: #00a32a;
}

.lb-copy:disabled {
	background-color: #dcdcde;
	color: #8c8f94;
	cursor: not-allowed;
	transform: none;
}

.lb-textarea {
	width: 100%;
	min-height: 320px;
	padding: 14px;
	font-size: 15px;
	line-height: 1.5;
	font-family: inherit;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	resize: vertical;
	background-color: #fff;
}

.lb-textarea:focus {
	outline: none;
	border-color: #cf2d2e;
	box-shadow: 0 0 0 1px #cf2d2e;
}
