/* =============================================================================
   StoreShift Lite Admin — v1.1.0
   ============================================================================= */

/* ── Wrap & Header ─────────────────────────────────────────────────────────── */
.ss-wrap {
	max-width: 860px;
	margin-top: 20px;
}

.ss-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

.ss-header__logo {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ss-header__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: #7C3AED;
	border-radius: 6px;
	color: #fff;
	font-family: Georgia, serif;
	font-size: 15px;
	font-weight: bold;
	line-height: 1;
}

.ss-header__name {
	font-size: 18px;
	font-weight: 600;
	color: #1d2327;
}

.ss-header__version {
	font-size: 12px;
	color: #999;
	font-family: monospace;
	margin-left: 4px;
}

/* ── Tab nav ───────────────────────────────────────────────────────────────── */
.ss-tab-nav {
	display: flex;
	gap: 2px;
	border-bottom: 1px solid #ddd;
	margin-bottom: 20px;
}

.ss-tab-nav__btn {
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 8px 18px;
	font-size: 14px;
	font-weight: 500;
	color: #666;
	cursor: pointer;
	margin-bottom: -1px;
	border-radius: 0;
	transition: color 0.15s, border-color 0.15s;
}

.ss-tab-nav__btn:hover {
	color: #1d2327;
}

.ss-tab-nav__btn--active {
	color: #7C3AED;
	border-bottom-color: #7C3AED;
}

/* ── Section title ─────────────────────────────────────────────────────────── */
.ss-section-title {
	font-size: 15px;
	font-weight: 600;
	color: #1d2327;
	margin: 0 0 14px;
	padding: 0;
	border: none;
}

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.ss-card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	margin-bottom: 16px;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.ss-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid #f0f0f0;
}

.ss-card__title {
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ss-card__body {
	padding: 16px;
}

/* ── Badges ────────────────────────────────────────────────────────────────── */
.ss-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 100px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.ss-badge--success {
	background: #d1fae5;
	color: #065f46;
}

.ss-badge--warning {
	background: #fef3c7;
	color: #92400e;
}

.ss-badge--active {
	background: #ede9fe;
	color: #5b21b6;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.ss-btn {
	display: inline-block;
	padding: 7px 16px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
	line-height: 1.4;
}

.ss-btn--primary {
	background: #7C3AED;
	color: #fff;
	border-color: #7C3AED;
}

.ss-btn--primary:hover {
	background: #6d28d9;
	border-color: #6d28d9;
	color: #fff;
}

.ss-btn--secondary {
	background: #fff;
	color: #7C3AED;
	border-color: #c4b5fd;
}

.ss-btn--secondary:hover {
	background: #f5f3ff;
	border-color: #7C3AED;
	color: #7C3AED;
}

/* ── Notices ───────────────────────────────────────────────────────────────── */
.ss-notice {
	padding: 10px 14px;
	border-radius: 4px;
	font-size: 13px;
	line-height: 1.5;
	border-left: 4px solid #dcdcde;
	background: #f6f7f7;
	color: #1d2327;
}

.ss-notice--info {
	border-left-color: #3b82f6;
	background: #eff6ff;
	color: #1e3a8a;
}

.ss-notice--success {
	border-left-color: #10b981;
	background: #d1fae5;
	color: #065f46;
}

.ss-notice--error {
	border-left-color: #ef4444;
	background: #fef2f2;
	color: #991b1b;
}

/* ── Form elements ─────────────────────────────────────────────────────────── */
.ss-form-row {
	margin-bottom: 14px;
}

.ss-form-label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: #1d2327;
	margin-bottom: 5px;
}

.ss-form-input {
	width: 100%;
	max-width: 480px;
}

.ss-form-actions {
	margin-top: 6px;
}

/* ── Import tab ────────────────────────────────────────────────────────────── */
.ss-import-desc {
	font-size: 13px;
	color: #555;
	margin: 0 0 14px;
	line-height: 1.6;
}

.ss-importer-card {
	margin-bottom: 12px;
}

.ss-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #444;
	cursor: pointer;
	margin-bottom: 0;
}

.ss-checkbox-label input[type="checkbox"] {
	margin: 0;
	flex-shrink: 0;
}

.ss-import-progress {
	margin-top: 12px;
}

.ss-progress-bar {
	height: 5px;
	background: #f0f0f0;
	border-radius: 100px;
	overflow: hidden;
	margin-bottom: 6px;
}

.ss-progress-bar__fill {
	height: 100%;
	background: #7C3AED;
	border-radius: 100px;
	transition: width 0.4s ease;
}

.ss-progress-label {
	font-size: 12px;
	color: #666;
	margin: 0;
}

/* Not-connected state */
.ss-support-no-license {
	text-align: center;
	padding: 24px 0;
	color: #555;
	font-size: 13px;
}

.ss-support-no-license p {
	margin: 0 0 12px;
}

/* ── Upsell card ───────────────────────────────────────────────────────────── */
.ss-upsell-card {
	border-color: #c4b5fd;
	background: #faf5ff;
}

.ss-upsell-card .ss-card__header {
	border-bottom-color: #e9d5ff;
}

.ss-upsell-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	margin-bottom: 4px;
}

.ss-upsell-feature {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.ss-upsell-feature__icon {
	font-size: 18px;
	line-height: 1.3;
	flex-shrink: 0;
}

.ss-upsell-feature strong {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
	margin-bottom: 2px;
}

.ss-upsell-feature p {
	font-size: 12px;
	color: #555;
	margin: 0;
	line-height: 1.5;
}
