.cdt-root {
	margin: 10px 0;
	clear: both;
	text-align: center;
}

.cdt-cta {
	margin-bottom: 5px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: start;
}

.cdt-quick-generate-btn {
	background: #fff;
	border: 2px solid var(--cdt-primary);
	color: var(--cdt-primary-dark);
	padding: 12px 26px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.cdt-quick-generate-btn:hover {
	background: color-mix(in srgb, var(--cdt-primary) 10%, white);
	transform: translateY(-1px);
}

.cdt-quick-generate-btn:disabled {
	opacity: 0.7;
	cursor: default;
	transform: none;
}

.cdt-quick-generate-hint {
	flex-basis: 100%;
	font-size: 12px;
	color: #666;
	margin-top: 4px;
}

:root {
	--cdt-primary: #2e9c4f;
	--cdt-primary-dark: #25803f;
}

.cdt-spinner-anchor {
	position: relative;
}

.cdt-img-loading {
	filter: grayscale(0.6) brightness(0.6);
	transition: filter 0.2s ease;
}

.cdt-img-spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 36px;
	height: 36px;
	margin: -18px 0 0 -18px;
	border: 4px solid rgba(255, 255, 255, 0.4);
	border-top-color: var(--cdt-primary);
	border-radius: 50%;
	animation: cdt-spin 0.8s linear infinite;
	z-index: 5;
	pointer-events: none;
}

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

.cdt-edit-bar {
	display: flex;
	gap: 6px;
	margin: 6px 0 10px;
	text-align: left;
}

.cdt-edit-input {
	flex: 1;
	min-width: 0;
	padding: 6px 9px;
	font-size: 12px;
	border: 1px solid #d4d4d4;
	border-radius: 4px;
	box-sizing: border-box;
}

.cdt-edit-input:focus {
	border-color: var(--cdt-primary);
	outline: none;
}

.cdt-edit-btn {
	flex: 0 0 auto;
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	background: var(--cdt-primary);
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.cdt-edit-btn:hover {
	background: var(--cdt-primary-dark);
}

.cdt-edit-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.cdt-edit-error {
	display: block;
	width: 100%;
	color: #c0392b;
	font-size: 11px;
	margin-top: 4px;
}

#cdt-root .cdt-open-modal-btn,
#cdt-root button.cdt-open-modal-btn {
	background: var(--cdt-primary);
	background-image: none;
	border: none;
	color: var(--cdt-btn-text-color, #fff);
	padding: var(--cdt-btn-padding, 14px 34px);
	font-size: var(--cdt-btn-font-size, 16px);
	font-weight: var(--cdt-btn-font-weight, 600);
	line-height: 1.2;
	border-radius: var(--cdt-btn-radius, 6px);
	box-shadow: none;
	text-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: background 0.15s ease;
        display:flex;
        gap:5px;

}

.arrow-span{
    display:inline-flex;
    align-items: center;
}
.cdt-copy-share-btn {
	border: none;
	color: var(--cdt-btn-text-color, #fff);
	padding: var(--cdt-btn-padding, 14px 34px);
	font-size: var(--cdt-btn-font-size, 16px);
	font-weight: var(--cdt-btn-font-weight, 600);
	line-height: 1.2;
	border-radius: var(--cdt-btn-radius, 6px);
	box-shadow: none;
	text-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: background 0.15s ease;
}

.cdt-quick-generate-btn,
.cdt-quick-generate-hint {
	display: none !important;
}

#cdt-root .cdt-open-modal-btn:hover,
#cdt-root button.cdt-open-modal-btn:hover {
	background: var(--cdt-primary-dark);
	background-image: none;
	color: var(--cdt-btn-text-color, #fff);
}

.cdt-status-bar {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	background: color-mix(in srgb, var(--cdt-primary) 10%, white);
	border: 1px solid color-mix(in srgb, var(--cdt-primary) 35%, white);
	color: var(--cdt-primary-dark);
	padding: 10px 18px;
	border-radius: 6px;
	font-size: 14px;
	margin-bottom: 16px;
}

.cdt-reset-link {
	color: #c0392b;
	text-decoration: underline;
	white-space: nowrap;
}

/* Default to hidden regardless of the [hidden] attribute, in case any other
   stylesheet on the site resets [hidden] (common with some CSS frameworks).
   Only the explicit .cdt-modal-visible class (toggled by our JS) reveals it,
   so this overlay can never sit invisibly on top of the page intercepting clicks. */
#cdt-modal {
	display: none !important;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

#cdt-modal.cdt-modal-visible {
	display: flex !important;
}

.cdt-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.cdt-modal-dialog {
	position: relative;
	background: #fff;
	border-radius: 10px;
	padding: 32px 36px;
	max-width: 780px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	text-align: left;
}

.cdt-modal-close {
	position: absolute;
	top: 35px;
	right: 24px;
	background: none;
	border: none;
	/* font-size: 26px; */
	/* line-height: 1; */
	cursor: pointer;
	color: #000;
}

.cdt-modal-close:hover  {
	background:none;
	/* color: #; */
}
.cdt-modal-close:hover svg {
	color:#d40172;
	/* color: #; */
}

#cdt-modal-title {
	
	font-size: 22px;
}

#cdt-form {
	
	grid-template-columns: 1fr 1fr;
	gap: 0 24px;
}

.cdt-field-full {
	grid-column: 1 / -1;
}

.cdt-field {
	display: block;
	margin: 0 0 16px;
}

.cdt-field label {
	display: block;
	font-weight: 600;
	font-size: 13px;
	margin-bottom: 6px;
}

.cdt-field input,
.cdt-field select,
.cdt-field textarea {
	width: 100%;
	padding: 9px 11px;
	border: 1px solid #d4d4d4;
	border-radius: 5px;
	box-sizing: border-box;
	font-size: 14px;
	transition: border-color 0.15s ease;
}

.cdt-field input:focus,
.cdt-field select:focus,
.cdt-field textarea:focus {
	border-color: var(--cdt-primary);
	outline: none;
}

.cdt-field-hint {
	font-weight: 400;
	color: #888;
	font-size: 12px;
}

.cdt-field input[type="file"] {
	padding: 8px;
}

.cdt-field-colors {
	display: flex;
	gap: 24px;
}

/* Design Style pills */
.cdt-style-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}

.cdt-style-pill {
	appearance: none;
	background: #fff;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
	line-height: 1.2;
}

.cdt-style-pill:hover {
	border-color: #b8b8b8;
	background: #fafafa;
}

.cdt-style-pill:focus-visible {
	outline: 2px solid #e91e63;
	outline-offset: 2px;
}

.cdt-style-pill-active,
.cdt-style-pill-active:hover {
	border-color: #e91e63;
	background: #fdecef;
	color: #b8104a;
}

/* ─── v2 modal redesign ─── */

/* Popup dimensions scale from Figma reference 945x737. Height is auto (grows
   with content), width caps at 945 on desktop and scales fluidly below.
   Padding is EQUAL on all 4 sides (clamps for fluid scaling but always square). */
.cdt-modal-dialog-v2 {
	width: min(945px, calc(100vw - 32px));
	max-width: 945px;
	max-height: calc(100vh - 32px);
	height: auto;
	padding: clamp(24px, 3.4vw, 40px);
	border-radius: 10px;
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
	background: #fff;
	overflow-y: auto;
	box-sizing: border-box;
}

/* Header: icon vertically centered with the title+subtitle stack, tight gap. */
.cdt-modal-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
}

.cdt-modal-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #c2185b;
	color: #fff;
	flex-shrink: 0;
}

.cdt-modal-titles {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.cdt-modal-titles h2 {
	margin: 0;
	font-size: 26px !important;
	font-weight: 800;
	line-height: 1.15;
	color: #111;
	letter-spacing: -0.01em;
}

.cdt-modal-subtitle {
	margin: 0;
	font-size: 14px;
	color: #6b7280;
	line-height: 1.35;
}

/* Force-hide file inputs that are marked hidden — some browsers still render
   the native "Choose file" button when a hidden attr sits inside a <label>. */
.cdt-form-v2 input[type="file"][hidden],
.cdt-form-v2 input[type="file"].cdt-hidden-input {
	display: none !important;
}

/* Grid rows — the row itself fills the full form width, with equal-width
   columns and a fixed gap so both fields visually align to the same edges. */
.cdt-form-v2 .cdt-row {
	display: grid;
	gap: 20px;
	margin-bottom: 18px;
	width: 100%;
}

.cdt-form-v2 .cdt-row-2 {
	grid-template-columns: 1fr 1fr;
}

/* Each field inside a row must be block-level and fill its grid track. */
.cdt-form-v2 .cdt-row > .cdt-field {
	width: 100%;
	min-width: 0;
}

.cdt-form-v2 .cdt-row > .cdt-field .cdt-input-icon-wrap,
.cdt-form-v2 .cdt-row > .cdt-field input,
.cdt-form-v2 .cdt-row > .cdt-field select {
	width: 100%;
}

/* Ensure the form is a block that spans the full padded interior. */
.cdt-form-v2 {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.cdt-form-v2 .cdt-field {
	margin: 0 0 16px;
	display: flex;
	flex-direction: column;
}

.cdt-form-v2 .cdt-row .cdt-field {
	margin: 0;
}

.cdt-form-v2 .cdt-field label {
        display: flex;
	font-size: 14px;
	font-weight: 700;
	color: #111;
	margin-bottom: 6px;
	display: block;
	line-height: 1.2;
}

.cdt-req {
	color: #e91e63;
	margin-left: 2px;
}

.cdt-field-hint-inline {
	font-weight: 400;
	color: #999;
	font-size: 12px;
	margin-left: 4px;
}

.cdt-input-icon-wrap {
	position: relative;
	display: block;
}

.cdt-input-icon {
	position: absolute;
	left: 10px;
	top: 58%;
	transform: translateY(-50%);
	color: #999;
	pointer-events: none;
}

.cdt-form-v2 input[type="text"],
.cdt-form-v2 select,
.cdt-form-v2 textarea {
	width: 100%;
	padding: 10px 12px 10px 48px;
	border: 1px solid #959595;
	border-radius: 5px;
	font-size: 15px;
	background: #fff;
	color: #222;
	font-family: inherit;
	box-sizing: border-box;
	transition: border-color 0.15s ease;
}

.cdt-form-v2 textarea {
	padding-left: 12px;
	resize: vertical;
	min-height: 72px;
}

.cdt-form-v2 select {
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 32px;
}

.cdt-form-v2 input:focus,
.cdt-form-v2 select:focus,
.cdt-form-v2 textarea:focus {
	outline: none;
	border-color: #e91e63;
}

/* Style pills v2 — image on top, label on tinted rounded strip below, whole
   card gets a pink border when active. Card = image + label glued together. */
.cdt-style-pills-v2 {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
	margin-top: 4px;
}

.cdt-style-pills-v2 .cdt-style-pill {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: 4px;
	border: 1.5px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}

.cdt-style-pills-v2 .cdt-style-pill:hover {
	border-color: #cbd5e0;
	background: #fff;
}

.cdt-style-pills-v2 .cdt-style-pill-active,
.cdt-style-pills-v2 .cdt-style-pill-active:hover {
	border-color: #e91e63;
	background: #fff;
	box-shadow: 0 0 0 2px rgba(233, 30, 99, 0.08);
}

.cdt-pill-thumb-img {
	width: 100%;
	aspect-ratio: 8 / 3;
	object-fit: cover;
	border-radius: 6px 6px 0 0;
	display: block;
	background: #f3f4f6;
}

.cdt-pill-label {
	display: block;
	padding: 8px 4px 6px;
	text-align: center;
	background: #f5f5f7;
	border-radius: 0 0 6px 6px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.1;
	color: #333;
	margin-top: 4px;
}

.cdt-style-pill-active .cdt-pill-label {
	background: #fdecef;
	color: #b8104a;
}

/* Brand colors row v2 — every control in this row (swatches, AI button, upload
   tiles) matches the same fixed height and vertical baseline so the whole row
   is aligned on a single grid line. Height matches the Figma reference. */
.cdt-brand-colors-row {
	display: flex;
	align-items: stretch;
	gap: 10px;
}

/* Color swatches: the native input paints its color into a tiny inner box on
   many browsers, leaving thin slivers rather than a proper swatch. To match
   the Figma, wrap the native input at ~76x40 total, give the input itself a
   full-bleed layout, and clip it to the wrapper so the visible color fills
   the whole swatch. */
/* Color swatch: 129px wide (Figma), full row height, color fill on the left,
   thin divider, chevron on the right. Border-radius on the wrapper, color
   fill has its own smaller radius. */
.cdt-color-swatch-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	border: 1.5px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	width: 129px;
	height: 60px;
	padding: 8px 10px 8px 8px;
	box-sizing: border-box;
	gap: 8px;
}

.cdt-color-swatch-wrap input[type="color"] {
	-webkit-appearance: none;
	appearance: none;
	flex: 1;
	height: 100%;
	border: none;
	padding: 0;
	background: transparent;
	cursor: pointer;
	box-sizing: border-box;
	border-radius: 6px;
	overflow: hidden;
}

.cdt-color-swatch-wrap input[type="color"]::-webkit-color-swatch-wrapper {
	padding: 0;
	border: none;
}

.cdt-color-swatch-wrap input[type="color"]::-webkit-color-swatch {
	border: none;
	border-radius: 4px;
}

.cdt-color-swatch-wrap input[type="color"]::-moz-color-swatch {
	border: none;
	border-radius: 4px;
}

.cdt-color-caret {
	position: static;
	transform: none;
	color: #6b7280;
	font-size: 16px;
	line-height: 1;
	pointer-events: none;
	flex-shrink: 0;
	padding: 0 4px 0 6px;
	border-left: 1px solid #e5e7eb;
	height: 60%;
	display: inline-flex;
	align-items: center;
}

.cdt-ai-color-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 16px;
	height: 60px;
	border: 1.5px solid #e91e63;
	background: #fff;
	color: #e91e63;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease;
	white-space: nowrap;
	box-sizing: border-box;
}

.cdt-ai-color-btn:hover {
	background: #fdecef;
}

.cdt-ai-color-icon {
	display: inline-flex;
	align-items: center;
	color: #e91e63;
}

/* Upload logo + Upload artwork sit side by side inside the right half of the
   row. Each takes half of that half. Mobile falls back to stacked. */
.cdt-uploads-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	width: 100%;
	min-width: 0;
}

.cdt-uploads-pair .cdt-field-upload {
	margin: 0;
	min-width: 0;
}

@media (max-width: 600px) {
	.cdt-uploads-pair { grid-template-columns: 1fr; }
}

/* File drop — needs to be tall enough for the icon plus a 2-line label stack
   (title "Choose File" + subtitle "PNG, JPG..."). Fixed 44px matches the swatch
   height so the whole Brand Colors + Upload row is aligned. Padding scales
   so the content sits nicely inside the border. */
.cdt-file-drop {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 16px;
	border: 1.5px solid #e5e7eb;
	border-radius: 10px;
	cursor: pointer;
	background: #fff;
	transition: border-color 0.15s ease;
	height: 60px;
	box-sizing: border-box;
}

.cdt-file-drop:hover {
	border-color: #cbd5e0;
}

.cdt-file-drop-icon {
	color: #6b7280;
	flex-shrink: 0;
}

.cdt-file-drop-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.cdt-file-drop-text strong {
	font-size: 13px;
	color: #111;
	font-weight: 700;
}

.cdt-file-drop-text small {
	font-size: 11px;
	color: #9ca3af;
	margin-top: 1px;
}

/* Belt-and-braces: even browsers that respect the hidden attr on <input type=file>
   sometimes show the native control when it sits inside a <label>. Force gone. */
.cdt-file-drop input[type="file"] {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.cdt-submit-btn-v2 {
	display: block;
	width: 100%;
	padding: 14px 20px;
	background: #e91e63;
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	margin-top: 8px;
	transition: background 0.15s ease;
	margin: 0 auto;
	width: 50% !important;
}

.cdt-submit-btn-v2:hover {
	background: #c2185b;
}

@media (max-width: 600px) {
	.cdt-form-v2 .cdt-row-2 { grid-template-columns: 1fr; }
	.cdt-style-pills-v2 { grid-template-columns: repeat(3, 1fr); }
	.cdt-modal-dialog-v2 { padding: 20px 20px 16px; }
}

.cdt-color-field {
	flex: 1;
}

.cdt-color-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cdt-color-row input[type="color"] {
	width: 44px;
	height: 36px;
	padding: 2px;
	flex: 0 0 auto;
}

.cdt-color-hex {
	font-family: monospace;
	color: #555;
	font-size: 13px;
}

.cdt-error {
	color: #c0392b;
	font-size: 13px;
	margin:0px !important;
}

.cdt-actions {
	text-align: right;
	margin: 0 0 0;
}

#cdt-modal .cdt-submit-btn,
#cdt-modal button.cdt-submit-btn {
	background: var(--cdt-primary);
	background-image: none;
	border: none;
	color: var(--cdt-btn-text-color, #fff);
	width: 100%;
	padding: var(--cdt-btn-padding, 14px 34px);
	font-size: var(--cdt-btn-font-size, 16px);
	font-weight: var(--cdt-btn-font-weight, 600);
	line-height: 1.2;
	border-radius: var(--cdt-btn-radius, 6px);
	box-shadow: none;
	text-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: background 0.15s ease;
}

#cdt-modal .cdt-submit-btn:hover,
#cdt-modal button.cdt-submit-btn:hover {
	background: var(--cdt-primary-dark);
	background-image: none;
	color: var(--cdt-btn-text-color, #fff);
}

#cdt-modal .cdt-submit-btn:disabled,
#cdt-modal button.cdt-submit-btn:disabled {
	opacity: 0.7;
	cursor: default;
}

body.cdt-modal-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	#cdt-form {
		grid-template-columns: 1fr;
	}

	.cdt-field-colors {
		flex-direction: column;
		gap: 14px;
	}
}

/* --- 3-preview style chooser --- */

.cdt-chooser-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

.cdt-chooser-overlay-bg {
	position: absolute;
	inset: 0;
	background: rgba(15, 20, 30, 0.72);
}

.cdt-chooser-dialog {
	position: relative;
	background: #fff;
	border-radius: 12px;
	padding: 28px 28px 22px;
	max-width: 1080px;
	width: 100%;
	max-height: 92vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	text-align: left;
}

.cdt-chooser-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: transparent;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #666;
	padding: 4px 8px;
}

.cdt-chooser-close:hover {
	color: #000;
}

.cdt-chooser-title {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
}

.cdt-chooser-subtitle {
	margin: 0 0 20px;
	font-size: 14px;
	color: #666;
}

.cdt-chooser-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-bottom: 22px;
}

.cdt-chooser-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 12px;
	background: #fafafa;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cdt-chooser-card:hover {
	border-color: var(--cdt-primary);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.cdt-chooser-card-error {
	border-color: #e35d5d;
	background: #fff5f5;
}

.cdt-chooser-card-error::after {
	content: 'Failed';
	display: block;
	text-align: center;
	color: #b23838;
	font-size: 13px;
	font-weight: 600;
}

.cdt-chooser-image-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #eee;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cdt-chooser-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cdt-chooser-spinner {
	width: 34px;
	height: 34px;
	border: 3px solid rgba(0, 0, 0, 0.12);
	border-top-color: var(--cdt-primary);
	border-radius: 50%;
	animation: cdt-spin 0.9s linear infinite;
}

.cdt-chooser-pick-btn {
	background: var(--cdt-primary);
	color: #fff;
	border: none;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.cdt-chooser-pick-btn:hover:not(:disabled) {
	background: var(--cdt-primary-dark);
}

.cdt-chooser-pick-btn:disabled {
	background: #c9c9c9;
	cursor: default;
}

.cdt-chooser-edit-row {
	display: flex;
	gap: 10px;
	align-items: stretch;
	padding-top: 14px;
	border-top: 1px solid #eee;
}

.cdt-chooser-edit-input {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
}

.cdt-chooser-edit-input:focus {
	outline: none;
	border-color: var(--cdt-primary);
}

.cdt-chooser-regen-btn {
	background: #fff;
	border: 2px solid var(--cdt-primary);
	color: var(--cdt-primary-dark);
	padding: 8px 18px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.cdt-chooser-regen-btn:hover:not(:disabled) {
	background: color-mix(in srgb, var(--cdt-primary) 10%, white);
}

.cdt-chooser-regen-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.cdt-chooser-error {
	margin: 10px 0 0;
	color: #b23838;
	font-size: 13px;
}

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

@media (max-width: 820px) {
	.cdt-chooser-grid {
		grid-template-columns: 1fr;
	}
	.cdt-chooser-edit-row {
		flex-direction: column;
	}
}



svg:not(:root){
 display: block !important;
}
