/**
 * Admin Link Generator styles
 *
 * @package AlCartShare
 * @since   1.0.0
 */

.alcartshare-link-generator-wrap {
	max-width: 800px;
}

.alcartshare-link-generator-wrap h2 {
	margin-top: 20px;
}

/* One line per product: name, then quantity */
.alcartshare-qty-row {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 400px;
	padding: 6px 0;
	border-bottom: 1px solid #dcdcde;
}

.alcartshare-qty-row:last-child {
	border-bottom: 0;
}

.alcartshare-qty-row label {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.alcartshare-qty-row .alcartshare-qty-input {
	width: 70px !important;
	text-align: center;
}

/* The link, with Copy link beside it and the other ways to send it below */
.alcartshare-result-box {
	display: flex;
	gap: 8px;
	align-items: center;
}

.alcartshare-result-box input.large-text {
	flex: 1;
	font-family: monospace;
	font-size: 13px;
}

.alcartshare-result-box .button {
	white-space: nowrap;
}

.alcartshare-result-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

#alcartshare-copy-notice {
	color: #00a32a;
}

.alcartshare-link-generator-wrap .notice.inline {
	margin: 12px 0;
}

#alcartshare-gen-spinner.is-active {
	visibility: visible;
}
