/* ==========================================================================
   Account Pages — Modern Minimal
   ========================================================================== */

:root {
	--swch-accent: #4f46e5;
	--swch-accent-light: #eef2ff;
	--swch-accent-hover: #4338ca;
	--swch-text: #1e293b;
	--swch-text-secondary: #64748b;
	--swch-text-muted: #94a3b8;
	--swch-border: #e2e8f0;
	--swch-border-light: #f1f5f9;
	--swch-bg: #f8fafc;
	--swch-white: #fff;
	--swch-radius: 10px;
	--swch-radius-sm: 6px;
	--swch-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	--swch-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.06);
	--swch-transition: 0.2s ease;
	--swch-tech-violet: #4338ca;
	--swch-tech-fuchsia: #db2777;
	--swch-tech-cyan: #22d3ee;
}

/* Layout
   ========================================================================== */

.swch-account-page {
	padding: 48px 0 96px;
}

.swch-account-container {
	max-width: 640px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Page Header
   ========================================================================== */

.swch-page-header {
	margin-bottom: 32px;
}

.swch-page-header h1 {
	position: relative;
	font-size: 1.625rem;
	font-weight: 700;
	color: var(--swch-text);
	margin: 10px 0 16px;
	padding-bottom: 16px;
	letter-spacing: -0.01em;
}

.swch-page-header h1::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 2px;
	background: linear-gradient(90deg, var(--swch-tech-violet), var(--swch-tech-fuchsia));
	border-radius: 2px;
}

.swch-breadcrumb {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	padding: 5px 14px 5px 12px;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--swch-text-secondary);
	background: linear-gradient(135deg, rgba(79, 70, 229, 0.06) 0%, rgba(236, 72, 153, 0.05) 100%);
	border: 1px solid rgba(79, 70, 229, 0.14);
	border-radius: 999px;
	backdrop-filter: blur(4px);
}

.swch-breadcrumb a {
	color: var(--swch-text-secondary);
	text-decoration: none;
	transition: color var(--swch-transition);
}

.swch-breadcrumb a:hover {
	background: linear-gradient(90deg, var(--swch-tech-violet), var(--swch-tech-fuchsia));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.swch-breadcrumb .swch-breadcrumb-sep {
	font-size: 0;
	line-height: 1;
	color: transparent;
	display: inline-flex;
	align-items: center;
}

.swch-breadcrumb .swch-breadcrumb-sep::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	border-top: 1.5px solid var(--swch-text-muted);
	border-right: 1.5px solid var(--swch-text-muted);
	transform: rotate(45deg);
	opacity: 0.75;
}

/* Notices
   ========================================================================== */

.swch-notice {
	padding: 14px 18px;
	border-radius: var(--swch-radius-sm);
	margin-bottom: 24px;
	font-size: 0.875rem;
	line-height: 1.5;
}

.swch-notice-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.swch-notice-info {
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	color: #075985;
}

.swch-notice-success {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
}

/* Buttons
   ========================================================================== */

.swch-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 24px;
	border-radius: var(--swch-radius-sm);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: all var(--swch-transition);
	line-height: 1.5;
}

.swch-button-primary {
	background: linear-gradient(135deg, var(--swch-tech-violet) 0%, var(--swch-tech-fuchsia) 100%);
	color: var(--swch-white);
	box-shadow: 0 6px 20px -8px rgba(15, 23, 42, 0.18);
}

.swch-button-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 26px -8px rgba(15, 23, 42, 0.24);
	color: var(--swch-white);
}

.swch-button-secondary {
	background: var(--swch-white);
	color: var(--swch-text);
	border: 1px solid var(--swch-border);
}

.swch-button-secondary:hover {
	background: var(--swch-bg);
	border-color: #cbd5e1;
	color: var(--swch-text);
}

.swch-button-small {
	padding: 5px 12px;
	font-size: 0.75rem;
}

.swch-button-danger {
	background: #ef4444;
	color: var(--swch-white);
	border: 1px solid #ef4444;
}

.swch-button-danger:hover {
	background: #dc2626;
	border-color: #dc2626;
	color: var(--swch-white);
}

.swch-activations-action {
	text-align: right;
	width: 1%;
	white-space: nowrap;
}

.swch-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Forms — Auth (Login / Register)
   ========================================================================== */

.swch-auth-page {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
	padding: 48px 24px;
}

.swch-auth-card {
	position: relative;
	width: 100%;
	max-width: 400px;
	padding: 40px 32px 32px;
	background: var(--swch-white);
	border: 1px solid var(--swch-border);
	border-radius: var(--swch-radius);
	box-shadow: 0 10px 40px -12px rgba(79, 70, 229, 0.12);
	overflow: hidden;
}

.swch-auth-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--swch-tech-violet), var(--swch-tech-fuchsia));
}

.swch-auth-card h1 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--swch-text);
	text-align: center;
	margin: 0 0 32px;
	letter-spacing: -0.01em;
}

.swch-form-field {
	margin-bottom: 20px;
}

.swch-form-field label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--swch-text);
}

.swch-form-field input[type="email"],
.swch-form-field input[type="password"],
.swch-form-field input[type="text"] {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--swch-border);
	border-radius: var(--swch-radius-sm);
	font-size: 0.9375rem;
	color: var(--swch-text);
	background: var(--swch-white);
	transition: border-color var(--swch-transition), box-shadow var(--swch-transition);
	box-sizing: border-box;
}

.swch-form-field input:focus {
	outline: none;
	border-color: var(--swch-accent);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.08);
}

.swch-field-hint {
	font-size: 0.75rem;
	color: var(--swch-text-muted);
	margin-top: 6px;
	line-height: 1.4;
}

.swch-field-error {
	font-size: 0.75rem;
	color: #dc2626;
	margin-top: 6px;
	line-height: 1.4;
}

.swch-form-field input.swch-input-invalid {
	border-color: #dc2626;
}

.swch-form-field input.swch-input-invalid:focus {
	border-color: #dc2626;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

/* Password Toggle */
.swch-password-wrapper {
	position: relative;
}

.swch-password-wrapper input {
	padding-right: 44px;
}

.swch-password-toggle {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	background: none;
	color: var(--swch-text-muted);
	cursor: pointer;
	transition: color var(--swch-transition);
}

.swch-password-toggle:hover {
	color: var(--swch-text-secondary);
}

.swch-password-toggle svg {
	width: 20px;
	height: 20px;
}

.swch-form-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 28px;
}

.swch-form-actions .swch-button {
	width: 100%;
	padding: 12px 24px;
	font-size: 0.9375rem;
}

.swch-auth-footer {
	text-align: center;
	margin-top: 24px;
	font-size: 0.8125rem;
	color: var(--swch-text-secondary);
}

.swch-auth-footer a {
	color: var(--swch-accent);
	text-decoration: none;
	font-weight: 600;
}

.swch-auth-footer a:hover {
	text-decoration: underline;
}

/* Dashboard
   ========================================================================== */

/* Account Section */
.swch-account-section {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--swch-border-light);
}

.swch-account-email {
	font-size: 0.875rem;
	color: var(--swch-text-secondary);
	font-weight: 500;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.swch-account-logout-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--swch-text-secondary);
	background: var(--swch-white);
	border: 1px solid var(--swch-border);
	border-radius: var(--swch-radius-sm);
	text-decoration: none;
	white-space: nowrap;
	transition: all var(--swch-transition);
}

.swch-account-logout-button:hover {
	color: #dc2626;
	border-color: #fca5a5;
	background: #fef2f2;
}

.swch-account-logout-icon {
	flex-shrink: 0;
	display: block;
	color: inherit;
}

.swch-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
}

.swch-dashboard-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px;
	background: var(--swch-white);
	border: 1px solid var(--swch-border);
	border-radius: var(--swch-radius);
	text-decoration: none;
	color: var(--swch-text);
	overflow: hidden;
	transition: border-color var(--swch-transition), box-shadow var(--swch-transition), transform var(--swch-transition);
}

.swch-dashboard-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--swch-tech-violet), var(--swch-tech-fuchsia));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.swch-dashboard-card:hover {
	border-color: transparent;
	box-shadow: 0 12px 32px -10px rgba(15, 23, 42, 0.08);
	transform: translateY(-2px);
	color: var(--swch-text);
}

.swch-dashboard-card:hover::after {
	transform: scaleX(1);
}

.swch-dashboard-card-title {
	font-size: 0.9375rem;
	font-weight: 600;
}

.swch-dashboard-card-desc {
	font-size: 0.8125rem;
	color: var(--swch-text-secondary);
	line-height: 1.4;
}


/* Password Change
   ========================================================================== */

.swch-password-card {
	position: relative;
	background: var(--swch-white);
	border: 1px solid var(--swch-border);
	border-radius: var(--swch-radius);
	padding: 28px;
	overflow: hidden;
}

.swch-password-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--swch-tech-violet), var(--swch-tech-fuchsia));
}

.swch-password-card .swch-form-actions {
	margin-top: 32px;
}

.swch-password-card .swch-button {
	width: 100%;
	padding: 12px 24px;
	font-size: 0.9375rem;
}

/* License List
   ========================================================================== */

.swch-license-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.swch-license-card {
	position: relative;
	background: var(--swch-white);
	border: 1px solid var(--swch-border);
	border-radius: var(--swch-radius);
	padding: 20px 24px;
	overflow: hidden;
	transition: border-color var(--swch-transition), box-shadow var(--swch-transition), transform var(--swch-transition);
}

.swch-license-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--swch-tech-violet), var(--swch-tech-fuchsia));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.swch-license-card:hover {
	border-color: transparent;
	box-shadow: 0 12px 32px -10px rgba(15, 23, 42, 0.08);
	transform: translateY(-2px);
}

.swch-license-card:hover::after {
	transform: scaleX(1);
}

.swch-license-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.swch-license-product-name {
	font-size: 1rem;
	font-weight: 600;
	margin: 0;
	color: var(--swch-text);
}

/* Status Badge */
.swch-license-status {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 9999px;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.swch-license-status-active {
	background: #dcfce7;
	color: #166534;
}

.swch-license-status-expired {
	background: #fef3c7;
	color: #92400e;
}

.swch-license-status-suspended {
	background: #fee2e2;
	color: #991b1b;
}

.swch-license-status-revoked {
	background: var(--swch-border-light);
	color: var(--swch-text-secondary);
}

/* License Meta */
.swch-license-meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 14px;
	margin-bottom: 16px;
	font-size: 0.8125rem;
}

.swch-license-meta-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.swch-license-meta-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.swch-meta-label {
	color: var(--swch-text-muted);
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 500;
}

.swch-meta-value {
	color: var(--swch-text);
	font-weight: 500;
}

/* License Key Row */
.swch-license-key-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	padding: 10px 12px;
	background: var(--swch-bg);
	border-radius: var(--swch-radius-sm);
}

.swch-license-key-code {
	flex: 1;
	min-width: 0;
	font-size: 0.8125rem;
	font-family: "SF Mono", "Fira Code", monospace;
	color: var(--swch-text);
	word-break: break-all;
	line-height: 1.5;
}

.swch-license-meta-action {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
}

/* License Detail
   ========================================================================== */

.swch-license-detail-card {
	position: relative;
	background: var(--swch-white);
	border: 1px solid var(--swch-border);
	border-radius: var(--swch-radius);
	padding: 28px;
	overflow: hidden;
}

.swch-license-detail-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--swch-tech-violet), var(--swch-tech-fuchsia));
}

.swch-license-detail-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--swch-border-light);
}

.swch-license-detail-header h2 {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0;
	color: var(--swch-text);
}

/* Detail Table */
.swch-license-detail-table,
.swch-activations-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 24px;
	font-size: 0.875rem;
}

.swch-license-detail-table th,
.swch-activations-table th {
	text-align: left;
	padding: 10px 14px;
	background: var(--swch-bg);
	color: var(--swch-text-secondary);
	font-weight: 600;
	font-size: 0.8125rem;
	border-bottom: 1px solid var(--swch-border);
}

.swch-license-detail-table td,
.swch-activations-table td {
	padding: 10px 14px;
	border-bottom: 1px solid var(--swch-border-light);
	color: var(--swch-text);
}

.swch-license-detail-table code {
	background: var(--swch-bg);
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 0.8125rem;
	word-break: break-all;
	font-family: "SF Mono", "Fira Code", monospace;
}

.swch-copy-button {
	margin-left: 8px;
	vertical-align: middle;
	background: #e2e8f0;
	color: var(--swch-text-secondary);
	border: none;
}

.swch-copy-button svg {
	flex-shrink: 0;
}

.swch-copy-button:hover {
	background: #cbd5e1;
	color: var(--swch-text);
}

/* Section Title in Detail */
.swch-license-detail-card h3 {
	font-size: 0.9375rem;
	font-weight: 600;
	margin: 28px 0 14px;
	color: var(--swch-text);
}

.swch-license-detail-card h3:first-of-type {
	margin-top: 0;
}

/* Download Section */
.swch-download-section {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--swch-border);
}

.swch-download-controls {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 12px;
}

.swch-select {
	padding: 8px 12px;
	border: 1px solid var(--swch-border);
	border-radius: var(--swch-radius-sm);
	font-size: 14px;
	min-width: 200px;
	background: var(--swch-white);
	color: var(--swch-text);
}

.swch-version-info {
	display: flex;
	gap: 16px;
	margin-top: 8px;
	font-size: 13px;
	color: var(--swch-text-secondary);
}

/* Subscription Management */
.swch-subscription-section {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--swch-border);
}

.swch-subscription-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.swch-subscription-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--swch-text);
}

.swch-subscription-note {
	font-size: 0.8125rem;
	color: var(--swch-text-secondary);
	margin: 0 0 16px;
	line-height: 1.5;
}

/* Toggle Switch */
.swch-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	user-select: none;
}

.swch-toggle input {
	display: none;
}

.swch-toggle-slider {
	position: relative;
	width: 44px;
	height: 24px;
	background: #cbd5e1;
	border-radius: 12px;
	transition: background-color var(--swch-transition);
	flex-shrink: 0;
}

.swch-toggle-slider::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	background: var(--swch-white);
	border-radius: 50%;
	transition: transform var(--swch-transition);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.swch-toggle input:checked + .swch-toggle-slider {
	background: linear-gradient(135deg, var(--swch-tech-violet) 0%, var(--swch-tech-fuchsia) 100%);
	box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.18);
}

.swch-toggle input:checked + .swch-toggle-slider::after {
	transform: translateX(20px);
}

.swch-toggle input:disabled + .swch-toggle-slider {
	opacity: 0.5;
	cursor: not-allowed;
}

.swch-toggle-status {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--swch-text-secondary);
	min-width: 2em;
}

#swch-billing-portal-button {
	margin-top: 4px;
}

/* Loading Overlay */
.swch-loading-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(2px);
}

.swch-loading-spinner {
	width: 36px;
	height: 36px;
	border: 3px solid var(--swch-border);
	border-top-color: var(--swch-accent);
	border-radius: 50%;
	animation: swch-spin 0.7s linear infinite;
}

.swch-loading-text {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--swch-text-secondary);
}

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

/* Responsive
   ========================================================================== */

@media (max-width: 480px) {
	.swch-account-page {
		padding: 32px 0 64px;
	}

	.swch-page-header h1 {
		font-size: 1.375rem;
	}

	.swch-license-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.swch-license-detail-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.swch-license-detail-card {
		padding: 20px;
	}

	.swch-license-meta {
		flex-direction: column;
		gap: 12px;
	}

	.swch-subscription-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.swch-dashboard-grid {
		grid-template-columns: 1fr;
	}

	.swch-download-history-item {
		flex-direction: column;
		gap: 4px;
	}

	.swch-download-history-date {
		margin-left: 0;
	}
}

/* ----------------------------------------
   Download History
---------------------------------------- */

/* Plugin Updates */

.swch-plugin-updates {
	margin-top: 40px;
}

.swch-plugin-updates-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--swch-text);
	margin-bottom: 16px;
}

.swch-plugin-updates-list {
	background: var(--swch-white);
	border: 1px solid var(--swch-border);
	border-radius: var(--swch-radius);
	overflow: hidden;
}

.swch-plugin-updates-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
}

.swch-plugin-updates-item + .swch-plugin-updates-item {
	border-top: 1px solid var(--swch-border-light);
}

.swch-plugin-updates-item:nth-child(even) {
	background: var(--swch-bg);
}

.swch-plugin-updates-product {
	flex: 1;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--swch-text);
}

.swch-plugin-updates-version {
	font-size: 0.8125rem;
	font-family: monospace;
	color: var(--swch-accent);
}

.swch-plugin-updates-date {
	font-size: 0.8125rem;
	color: var(--swch-text-muted);
	white-space: nowrap;
}

.swch-plugin-updates-empty {
	font-size: 0.875rem;
	color: var(--swch-text-muted);
	padding: 16px 0;
}

/* Download History */

.swch-download-history {
	margin-top: 40px;
}

.swch-download-history-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--swch-text);
	margin-bottom: 16px;
}

.swch-download-history-list {
	background: var(--swch-white);
	border: 1px solid var(--swch-border);
	border-radius: var(--swch-radius);
	overflow: hidden;
}

.swch-download-history-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
}

.swch-download-history-item + .swch-download-history-item {
	border-top: 1px solid var(--swch-border-light);
}

.swch-download-history-item:nth-child(even) {
	background: var(--swch-bg);
}

.swch-download-history-product {
	flex: 1;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--swch-text);
}

.swch-download-history-version {
	font-size: 0.8125rem;
	color: var(--swch-text-secondary);
	font-family: monospace;
}

.swch-download-history-date {
	font-size: 0.8125rem;
	color: var(--swch-text-muted);
	margin-left: auto;
}

.swch-download-history-empty {
	font-size: 0.875rem;
	color: var(--swch-text-muted);
	padding: 16px 0;
}

/* Skeleton */

.swch-skeleton-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.swch-skeleton-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--swch-border-light);
}

.swch-skeleton-row:first-child {
	border-top: 1px solid var(--swch-border-light);
}

.swch-skeleton {
	display: inline-block;
	border-radius: var(--swch-radius-sm);
	background: linear-gradient(90deg, var(--swch-border-light) 25%, var(--swch-border) 50%, var(--swch-border-light) 75%);
	background-size: 200% 100%;
	animation: swch-shimmer 1.5s ease-in-out infinite;
	height: 16px;
}

.swch-skeleton-name {
	flex: 1;
	max-width: 160px;
}

.swch-skeleton-version {
	width: 56px;
}

.swch-skeleton-date {
	width: 80px;
	margin-left: auto;
}

@keyframes swch-shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* Withdraw
   ========================================================================== */

.swch-withdraw-card {
	background: var(--swch-white);
	border: 1px solid var(--swch-border);
	border-radius: var(--swch-radius);
	padding: 28px;
}

.swch-withdraw-section-title {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 16px;
	color: var(--swch-text);
}

.swch-withdraw-impact {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	border: 1px solid var(--swch-border-light);
	border-radius: var(--swch-radius-sm);
	overflow: hidden;
}

.swch-withdraw-impact li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid var(--swch-border-light);
}

.swch-withdraw-impact li:last-child {
	border-bottom: none;
}

.swch-withdraw-impact-label {
	color: var(--swch-text-muted, #475569);
	font-size: 0.875rem;
}

.swch-withdraw-impact-value {
	font-weight: 700;
	font-size: 1rem;
	color: var(--swch-text);
}

.swch-withdraw-list {
	margin: 8px 0 0;
	padding-left: 1.25em;
}

.swch-withdraw-list li {
	margin-bottom: 4px;
	line-height: 1.6;
}

.swch-withdraw-flow-hint {
	margin: 16px 0 0;
	font-size: 0.875rem;
	color: var(--swch-text-muted, #475569);
}

.swch-account-footer {
	margin-top: 48px;
	padding-top: 16px;
	border-top: 1px solid var(--swch-border-light);
	text-align: right;
}

.swch-account-footer-link {
	font-size: 0.8125rem;
	color: var(--swch-text-muted, #64748b);
	text-decoration: none;
}

.swch-account-footer-link:hover {
	color: var(--swch-text);
	text-decoration: underline;
}
