/* ======================================================
   Wishlist admin styles
   ====================================================== */

.smt-field.smt-field-inline select,
.smt-field.smt-field-inline input[type="number"] {
	padding: 6px 10px;
	border: 1px solid #8c8f94;
	border-radius: 6px;
	font-size: 14px;
	background: #fff;
}

.smt-field.smt-field-inline select {
	min-width: 200px;
}

.smt-field.smt-field-inline input[type="number"] {
	width: 80px;
}

/* ------------------------------------------------------------------
   Notice (success / error)
   ------------------------------------------------------------------ */

.smt-wl-notice {
	margin-bottom: 16px;
	padding: 10px 16px;
	border-radius: 6px;
	font-size: 14px;
	border-left: 4px solid #00a32a;
	background: #f0fff4;
}

.smt-wl-notice.is-error {
	border-left-color: #d63638;
	background: #fff5f5;
}

/* ------------------------------------------------------------------
   Hooks tab
   ------------------------------------------------------------------ */

.smt-wl-hook-block {
	margin-bottom: 32px;
}

.smt-wl-hook-block:last-child {
	margin-bottom: 0;
}

.smt-wl-hook-name {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 8px;
}

.smt-wl-hook-name code {
	font-size: 15px;
	background: #f3f4fb;
	border: 1px solid #e0e0ef;
	padding: 2px 8px;
	border-radius: 4px;
	color: #5e5df0;
}

.smt-wl-hook-type {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #fff;
	background: #5e5df0;
	padding: 2px 8px;
	border-radius: 20px;
}

.smt-wl-hook-desc {
	font-size: 14px;
	color: #444;
	line-height: 1.6;
	margin-bottom: 16px;
}

.smt-wl-hook-subtitle {
	font-size: 13px;
	font-weight: 600;
	color: #555;
	margin: 16px 0 6px;
}

.smt-wl-code {
	background: #1e1e2e;
	color: #cdd6f4;
	border-radius: 8px;
	padding: 14px 18px;
	font-size: 13px;
	line-height: 1.65;
	overflow-x: auto;
	margin: 0 0 4px;
	white-space: pre;
}

.smt-wl-code code {
	background: none;
	border: none;
	padding: 0;
	font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
	color: inherit;
}

.smt-wl-hook-divider {
	border: none;
	border-top: 1px solid #e5e7eb;
	margin: 28px 0;
}
