/* Minimal landing page styles for transferchat.ai */

:root {
	--color-bg: #020617;
	--color-surface: rgba(15, 23, 42, 0.8);
	--color-panel: rgba(15, 23, 42, 0.95);
	--color-text: #f8fafc;
	--color-muted: #cbd5f5;
	--color-accent: #38bdf8;
	--color-accent-dark: #0ea5e9;
	--color-border: rgba(148, 163, 184, 0.28);
	--font-sans: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 45%),
		radial-gradient(circle at center right, rgba(14, 165, 233, 0.08), transparent 40%),
		var(--color-bg);
	color: var(--color-text);
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: blur(18px);
	background: rgba(2, 6, 23, 0.8);
	border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
	max-width: 1080px;
	margin: 0 auto;
	padding: 18px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-logo {
	display: flex;
	flex-direction: column;
	gap: 4px;
}


.site-logo-mark {
	display: inline-flex;
	align-items: baseline;
	gap: 0.25rem;
	font-weight: 700;
	font-size: 1.1rem;
	letter-spacing: -0.02em;
	text-transform: none;
	color: var(--color-text);
}

.site-logo-mark__accent {
	color: var(--color-accent);
}


.site-logo__tagline {
	color: var(--color-muted);
	font-size: 0.8rem;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 18px;
}

.site-nav__link {
	color: var(--color-muted);
	font-size: 0.9rem;
	font-weight: 500;
	transition: color 0.2s ease;
	padding: 0.5rem 0.75rem;
}

.site-nav__link:hover,
.site-nav__link:focus {
	color: var(--color-text);
}

.site-nav__cta {
	padding: 8px 16px;
	border-radius: 8px;
	background: rgba(56, 189, 248, 0.12);
	color: var(--color-accent);
	font-weight: 600;
	border: 1px solid rgba(56, 189, 248, 0.3);
	transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.site-nav__cta:hover,
.site-nav__cta:focus {
	background: var(--color-accent);
	color: #03122e;
	border-color: var(--color-accent);
}

/* Landing page mobile menu toggle */
.site-header__toggle {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 32px;
	height: 32px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 4px;
	z-index: 11;
}

.site-header__toggle span {
	width: 24px;
	height: 2px;
	background: var(--color-text);
	border-radius: 2px;
	transition: all 0.3s ease;
	transform-origin: center;
}

.site-header__toggle[aria-expanded="true"] span:nth-child(1) {
	transform: rotate(45deg) translateY(7px);
}

.site-header__toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.site-header__toggle[aria-expanded="true"] span:nth-child(3) {
	transform: rotate(-45deg) translateY(-7px);
}

.landing {
	max-width: 1080px;
	margin: 0 auto;
	padding: 80px 28px;
	display: flex;
	flex-direction: column;
	gap: 120px;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
	gap: 60px;
	align-items: center;
}

.hero__eyebrow {
	color: var(--color-accent);
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.75rem;
	font-weight: 600;
	margin: 0 0 16px;
}

.hero__title {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	line-height: 1.1;
	margin: 0 0 24px;
}

.hero__subtitle {
	color: var(--color-muted);
	font-size: 1.05rem;
	margin: 0 0 32px;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	border-radius: 999px;
	font-weight: 600;
	border: 1px solid transparent;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
	font-size: 0.95rem;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	font-family: var(--font-sans);
	box-sizing: border-box;
}

.button--primary {
	background: var(--color-accent);
	color: #0b1220;
	box-shadow: 0 10px 30px rgba(56, 189, 248, 0.35);
}

.button--primary:hover,
.button--primary:focus {
	transform: translateY(-1px);
	box-shadow: 0 18px 45px rgba(56, 189, 248, 0.4);
	border-color: var(--color-accent-dark);
}

.button--ghost {
	color: var(--color-muted);
	border-color: rgba(148, 163, 184, 0.4);
	background: transparent;
}

.button--ghost:hover,
.button--ghost:focus {
	border-color: var(--color-accent);
	color: var(--color-text);
}

.button--outline {
	color: var(--color-text);
	border-color: var(--color-border);
	background: transparent;
}

.button--outline:hover,
.button--outline:focus {
	border-color: var(--color-accent);
	color: var(--color-accent);
	transform: translateY(-1px);
}

.button--secondary {
	background: #f3f4f6;
	color: #374151;
	border: 1px solid #e5e7eb;
}

.button--secondary:hover,
.button--secondary:focus {
	background: #e5e7eb;
	transform: translateY(-1px);
}

.button--danger {
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.4);
	color: #fca5a5;
}

.button--danger:hover,
.button--danger:focus {
	background: rgba(239, 68, 68, 0.2);
	border-color: rgba(239, 68, 68, 0.6);
	color: #fecaca;
}

.button--success {
	background: #10b981;
	color: white;
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.button--success:hover,
.button--success:focus {
	background: #059669;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.button--danger {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.button--danger:hover,
.button--danger:focus {
	background: #fee2e2;
	transform: translateY(-1px);
}

/* Ensure button_to forms don't add extra spacing */
form.button_to {
	display: inline-block;
	margin: 0;
}

form.button_to button {
	margin: 0;
}

.hero__card {
	border-radius: 20px;
	border: 1px solid rgba(56, 189, 248, 0.22);
	background: var(--color-panel);
	box-shadow: 0 25px 60px rgba(2, 6, 23, 0.45);
	overflow: hidden;
}

.hero-card__header {
	padding: 18px 24px;
	border-bottom: 1px solid rgba(56, 189, 248, 0.18);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 0.75rem;
}

.hero-card__body {
	padding: 24px;
}

.hero-card__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.hero-card__row:last-child {
	border-bottom: none;
}

.hero-card__row dt {
	font-size: 0.85rem;
	color: var(--color-muted);
}

.hero-card__row dd {
	margin: 0;
	font-weight: 600;
}

.section__content {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 760px;
}

.section__title {
	font-size: 2rem;
	margin: 0;
}

.section__lead {
	color: var(--color-muted);
	margin: 0;
	font-size: 1.1rem;
}

.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 28px;
}

.steps__item {
	padding: 24px;
	border-radius: 18px;
	border: 1px solid rgba(148, 163, 184, 0.18);
	background: rgba(15, 23, 42, 0.6);
}

.steps__title {
	margin: 0 0 12px;
	font-size: 1.2rem;
}

.steps__body {
	margin: 0;
	color: var(--color-muted);
}

.trust-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 28px;
}

.trust-card {
	padding: 24px;
	border-radius: 18px;
	border: 1px solid rgba(56, 189, 248, 0.18);
	background: rgba(15, 23, 42, 0.7);
	box-shadow: 0 20px 40px rgba(2, 6, 23, 0.35);
}

.trust-card h3 {
	margin: 0 0 12px;
}

.trust-card p {
	margin: 0;
	color: var(--color-muted);
}

/* MCP Section */
.section--mcp {
	/* background: linear-gradient(135deg, rgba(56, 189, 248, 0.03), rgba(14, 165, 233, 0.05)); */
	padding: 80px 0;
}

.mcp-banner {
	display: flex;
	align-items: center;
	gap: 48px;
	padding: 56px 64px;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
	border: 1px solid rgba(56, 189, 248, 0.2);
	border-radius: 20px;
	backdrop-filter: blur(20px);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 
	            0 0 0 1px rgba(56, 189, 248, 0.1) inset;
	position: relative;
	overflow: hidden;
}

.mcp-banner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, 
		transparent, 
		rgba(56, 189, 248, 0.5) 50%, 
		transparent);
}

.mcp-banner__icon {
	font-size: 48px;
	flex-shrink: 0;
	width: 120px;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(14, 165, 233, 0.08));
	border-radius: 20px;
	border: 1px solid rgba(56, 189, 248, 0.25);
	box-shadow: 0 8px 32px rgba(56, 189, 248, 0.15);
	position: relative;
}

.mcp-banner__icon::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 20px;
	background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.2), transparent 70%);
}

.mcp-banner__content {
	flex: 1;
}

.mcp-banner__title {
	font-size: 2.25rem;
	font-weight: 700;
	margin-bottom: 16px;
	letter-spacing: -0.02em;
	color: var(--color-text);
	line-height: 1.2;
}

.mcp-banner__description {
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--color-muted);
	margin-bottom: 32px;
	max-width: 700px;
}

.mcp-banner__actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.mcp-banner__actions .button {
	padding: 14px 28px;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.2s ease;
}

.mcp-banner__actions .button--primary {
	background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
	box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}

.mcp-banner__actions .button--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(56, 189, 248, 0.4);
}

.mcp-banner__actions .button--ghost {
	border: 1px solid rgba(148, 163, 184, 0.3);
	background: rgba(15, 23, 42, 0.4);
}

.mcp-banner__actions .button--ghost:hover {
	border-color: rgba(56, 189, 248, 0.4);
	background: rgba(56, 189, 248, 0.1);
}

@media (max-width: 968px) {
	.mcp-banner {
		gap: 32px;
		padding: 40px 48px;
	}

	.mcp-banner__icon {
		width: 100px;
		height: 100px;
		font-size: 40px;
	}

	.mcp-banner__title {
		font-size: 1.875rem;
	}

	.mcp-banner__description {
		font-size: 1.0625rem;
	}
}

@media (max-width: 768px) {
	.section--mcp {
		padding: 60px 0;
	}

	.mcp-banner {
		flex-direction: column;
		text-align: center;
		padding: 40px 32px;
		gap: 24px;
	}

	.mcp-banner__icon {
		width: 88px;
		height: 88px;
		font-size: 36px;
	}

	.mcp-banner__title {
		font-size: 1.75rem;
	}

	.mcp-banner__description {
		font-size: 1rem;
	}

	.mcp-banner__actions {
		justify-content: center;
		width: 100%;
		flex-direction: column;
	}

	.mcp-banner__actions .button {
		width: 100%;
		justify-content: center;
	}
}

/* Pricing Section */
.section--pricing {
	background: radial-gradient(circle at center, rgba(56, 189, 248, 0.08), transparent 60%);
}

.pricing-toggle {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 48px auto 64px;
	padding: 6px;
	background: rgba(15, 23, 42, 0.6);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	width: fit-content;
}

.pricing-toggle__btn {
	position: relative;
	padding: 10px 24px;
	border: none;
	background: transparent;
	color: var(--color-muted);
	font-family: var(--font-sans);
	font-size: 0.95rem;
	font-weight: 600;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
}

.pricing-toggle__btn:hover {
	color: var(--color-text);
}

.pricing-toggle__btn--active {
	background: var(--color-accent);
	color: var(--color-bg);
	box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.pricing-toggle__badge {
	padding: 2px 8px;
	background: rgba(34, 197, 94, 0.2);
	color: #86efac;
	font-size: 0.75rem;
	border-radius: 6px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 32px;
	max-width: 1200px;
	margin: 0 auto;
}

.pricing-card {
	position: relative;
	padding: 36px 28px;
	border-radius: 24px;
	border: 1px solid rgba(148, 163, 184, 0.2);
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(12px);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
}

.pricing-card:hover {
	transform: translateY(-8px);
	border-color: rgba(56, 189, 248, 0.4);
	box-shadow: 0 24px 48px rgba(56, 189, 248, 0.12);
}

.pricing-card--individual {
	border-color: rgba(56, 189, 248, 0.4);
	background: rgba(15, 23, 42, 0.85);
	box-shadow: 0 20px 40px rgba(56, 189, 248, 0.15);
	transform: scale(1.05);
}

.pricing-card--individual:hover {
	transform: translateY(-8px) scale(1.05);
	box-shadow: 0 28px 56px rgba(56, 189, 248, 0.25);
}

.pricing-card--professional {
	border-color: rgba(168, 85, 247, 0.4);
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 27, 75, 0.8));
}

.pricing-card--professional:hover {
	border-color: rgba(168, 85, 247, 0.6);
	box-shadow: 0 24px 48px rgba(168, 85, 247, 0.2);
}

.pricing-card__badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	padding: 6px 16px;
	background: linear-gradient(135deg, #38bdf8, #0ea5e9);
	color: var(--color-bg);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
	animation: pulse-badge 2s ease-in-out infinite;
}

.pricing-card__badge--pro {
	background: linear-gradient(135deg, #a855f7, #7c3aed);
	box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}

@keyframes pulse-badge {
	0%, 100% {
		box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
	}
	50% {
		box-shadow: 0 4px 20px rgba(56, 189, 248, 0.6);
	}
}

.pricing-card__header {
	margin-bottom: 24px;
}

.pricing-card__name {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 8px;
	background: linear-gradient(135deg, var(--color-text), var(--color-accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.pricing-card--professional .pricing-card__name {
	background: linear-gradient(135deg, var(--color-text), #a855f7);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.pricing-card__tagline {
	color: var(--color-muted);
	font-size: 0.9rem;
	margin: 0;
}

.pricing-card__price {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin-bottom: 8px;
}

.pricing-card__amount {
	font-size: 3.5rem;
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(135deg, var(--color-text), var(--color-accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	transition: all 0.3s ease;
}

.pricing-card--professional .pricing-card__amount {
	background: linear-gradient(135deg, var(--color-text), #a855f7);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.pricing-card__period {
	color: var(--color-muted);
	font-size: 1rem;
}

.pricing-card__monthly-note {
	color: var(--color-muted);
	font-size: 0.85rem;
	margin: 0 0 24px;
	text-align: center;
	padding: 8px 12px;
	background: rgba(34, 197, 94, 0.1);
	border-radius: 8px;
}

.pricing-card__yearly-note {
	color: var(--color-muted);
	font-size: 0.85rem;
	margin: 0 0 24px;
	text-align: center;
}

.pricing-card__period-small {
	color: var(--color-text);
	font-size: 1.1rem;
	font-weight: 600;
}

.pricing-card__savings {
	color: #86efac;
	font-weight: 600;
}

.pricing-card__features {
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
	flex-grow: 1;
}

.pricing-card__feature {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(148, 163, 184, 0.1);
	color: var(--color-text);
	font-size: 0.95rem;
	transition: all 0.2s ease;
}

.pricing-card__feature:hover {
	background: rgba(56, 189, 248, 0.05);
	padding-left: 8px;
	margin-left: -8px;
	border-radius: 8px;
}

.pricing-card__feature:last-child {
	border-bottom: none;
}

.pricing-card__feature--disabled {
	color: var(--color-muted);
	opacity: 0.5;
}

.pricing-card__feature--highlight {
	color: var(--color-accent);
	font-weight: 600;
	background: rgba(56, 189, 248, 0.08);
	padding: 12px;
	border-radius: 12px;
	margin-top: 8px;
}

.pricing-card__icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--color-accent);
	margin-top: 2px;
}

.pricing-card--professional .pricing-card__icon {
	color: #a855f7;
}

.pricing-card__feature--disabled .pricing-card__icon {
	color: var(--color-muted);
}

.pricing-card__cta {
	display: block;
	width: 100%;
	padding: 14px 24px;
	background: rgba(56, 189, 248, 0.12);
	border: 2px solid rgba(56, 189, 248, 0.3);
	color: var(--color-accent);
	font-weight: 700;
	text-align: center;
	border-radius: 12px;
	transition: all 0.3s ease;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.pricing-card__cta:hover {
	background: rgba(56, 189, 248, 0.2);
	border-color: rgba(56, 189, 248, 0.5);
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(56, 189, 248, 0.3);
}

.pricing-card__cta--primary {
	background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
	border-color: var(--color-accent);
	color: var(--color-bg);
	box-shadow: 0 8px 24px rgba(56, 189, 248, 0.3);
}

.pricing-card__cta--primary:hover {
	background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(56, 189, 248, 0.4);
}

.pricing-card--professional .pricing-card__cta--primary {
	background: linear-gradient(135deg, #a855f7, #7c3aed);
	border-color: #a855f7;
	box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3);
}

.pricing-card--professional .pricing-card__cta--primary:hover {
	background: linear-gradient(135deg, #7c3aed, #a855f7);
	box-shadow: 0 12px 32px rgba(168, 85, 247, 0.4);
}

/* Pricing FAQ */
.pricing-faq {
	max-width: 800px;
	margin: 80px auto 0;
	padding: 48px;
	background: rgba(15, 23, 42, 0.6);
	border: 1px solid var(--color-border);
	border-radius: 24px;
}

.pricing-faq__title {
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0 0 32px;
	text-align: center;
}

.pricing-faq__list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0;
}

.pricing-faq__item {
	padding: 0;
	margin: 0;
}

.pricing-faq__question {
	font-weight: 700;
	font-size: 1.1rem;
	margin: 0 0 8px;
	color: var(--color-text);
}

.pricing-faq__answer {
	color: var(--color-muted);
	margin: 0;
	line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.pricing-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.pricing-card--individual {
		transform: scale(1);
	}

	.pricing-card--individual:hover {
		transform: translateY(-8px) scale(1);
	}

	.pricing-toggle {
		width: 100%;
		max-width: 320px;
	}

	.pricing-faq {
		padding: 32px 24px;
	}
}

/* Choose Plan Page */
.choose-plan {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 24px;
	background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 50%),
		var(--color-bg);
}

.choose-plan__container {
	max-width: 1200px;
	width: 100%;
}

.choose-plan__header {
	text-align: center;
	margin-bottom: 64px;
}

.choose-plan__header .pricing-toggle {
	margin: 0 auto;
}

.choose-plan__title {
	font-size: 3rem;
	font-weight: 700;
	margin: 0 0 16px;
	background: linear-gradient(135deg, var(--color-text), var(--color-accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.choose-plan__subtitle {
	color: var(--color-muted);
	font-size: 1.25rem;
	margin: 0 0 32px;
}

.choose-plan__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 32px;
	margin-bottom: 32px;
}

.choose-plan__footer {
	text-align: center;
	color: var(--color-muted);
	font-size: 0.9rem;
	margin-top: 48px;
}

/* Plan Option Cards */
.plan-option {
	background: rgba(15, 23, 42, 0.8);
	border: 1px solid var(--color-border);
	border-radius: 24px;
	padding: 48px 36px 36px;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
	backdrop-filter: blur(12px);
	position: relative;
}

.plan-option:hover {
	border-color: rgba(56, 189, 248, 0.5);
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.plan-option--popular {
	border-color: rgba(56, 189, 248, 0.5);
	background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(15, 23, 42, 0.8));
}

.plan-option--professional {
	border-color: rgba(168, 85, 247, 0.5);
	background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(15, 23, 42, 0.8));
}

.plan-option__badge {
	position: absolute;
	top: 16px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(56, 189, 248, 0.2);
	color: var(--color-accent);
	padding: 6px 20px;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	border: 1px solid rgba(56, 189, 248, 0.3);
	white-space: nowrap;
}

.plan-option__badge--pro {
	background: rgba(168, 85, 247, 0.2);
	color: #c084fc;
	border-color: rgba(168, 85, 247, 0.3);
}

.plan-option--popular .plan-option__header,
.plan-option--professional .plan-option__header {
	margin-top: 24px;
}

.plan-option__header {
	text-align: center;
	margin-bottom: 24px;
}

.plan-option__name {
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--color-text);
}

.plan-option__tagline {
	color: var(--color-muted);
	font-size: 0.95rem;
	margin: 0;
}

.plan-option__price {
	text-align: center;
	margin-bottom: 8px;
}

.plan-option__amount {
	font-size: 3rem;
	font-weight: 700;
	color: var(--color-text);
}

.plan-option__period {
	color: var(--color-muted);
	font-size: 1rem;
	margin-left: 4px;
}

.plan-option__period-small {
	color: var(--color-accent);
	font-weight: 600;
}

.plan-option__yearly-note {
	text-align: center;
	font-size: 0.9rem;
	margin: 0 0 24px;
	color: var(--color-muted);
}

.plan-option__savings {
	color: #86efac;
	font-weight: 600;
}

.plan-option__features {
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
	flex-grow: 1;
}

.plan-option__feature {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(148, 163, 184, 0.1);
	color: var(--color-text);
}

.plan-option__feature:last-child {
	border-bottom: none;
}

.plan-option__feature--disabled {
	color: var(--color-muted);
	opacity: 0.6;
}

.plan-option__feature--muted {
	color: var(--color-muted);
	font-size: 0.9rem;
}

.plan-option__icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--color-accent);
	margin-top: 2px;
}

.plan-option__feature--disabled .plan-option__icon {
	color: #ef4444;
}

.plan-option__feature--muted .plan-option__icon {
	color: var(--color-muted);
}

.plan-option .button {
	width: 100%;
	cursor: pointer;
}

@media (max-width: 1024px) {
	.choose-plan__grid {
		grid-template-columns: 1fr;
		max-width: 480px;
		margin-left: auto;
		margin-right: auto;
	}

	.choose-plan__title {
		font-size: 2.5rem;
	}
}

/* Subscription Checkout & Result Pages */
.subscription-checkout,
.subscription-result {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 24px;
	background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 50%),
		var(--color-bg);
}

.subscription-checkout__container,
.subscription-result__container {
	max-width: 600px;
	width: 100%;
	background: rgba(15, 23, 42, 0.8);
	border: 1px solid var(--color-border);
	border-radius: 24px;
	padding: 48px;
	backdrop-filter: blur(12px);
}

.subscription-checkout__back {
	display: inline-flex;
	align-items: center;
	color: var(--color-muted);
	font-size: 0.9rem;
	margin-bottom: 24px;
	transition: color 0.2s ease;
}

.subscription-checkout__back:hover {
	color: var(--color-accent);
}

.subscription-checkout__header {
	text-align: center;
	margin-bottom: 48px;
}

.subscription-checkout__title {
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 12px;
	background: linear-gradient(135deg, var(--color-text), var(--color-accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.subscription-checkout__period {
	color: var(--color-muted);
	font-size: 1rem;
	margin: 0;
}

.subscription-checkout__badge {
	display: inline-block;
	padding: 4px 12px;
	background: rgba(34, 197, 94, 0.2);
	color: #86efac;
	font-size: 0.85rem;
	border-radius: 999px;
	font-weight: 600;
	margin-left: 8px;
}

.subscription-checkout__details {
	margin-bottom: 36px;
}

.subscription-checkout__details h2 {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 24px;
	color: var(--color-text);
}

.subscription-checkout__features {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.subscription-checkout__features li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--color-text);
	padding: 12px;
	background: rgba(56, 189, 248, 0.05);
	border-radius: 12px;
	transition: background 0.2s ease;
}

.subscription-checkout__features li:hover {
	background: rgba(56, 189, 248, 0.1);
}

.subscription-checkout__features li.subscription-checkout__overage {
	background: rgba(168, 85, 247, 0.08);
	border: 1px solid rgba(168, 85, 247, 0.2);
}

.subscription-checkout__icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--color-accent);
	margin-top: 2px;
}

.subscription-checkout__secure {
	text-align: center;
	color: var(--color-muted);
	font-size: 0.85rem;
	margin: 24px 0 0;
}

/* Subscription Result Pages */
.subscription-result__icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.subscription-result__icon svg {
	width: 48px;
	height: 48px;
}

.subscription-result__icon--success {
	background: rgba(34, 197, 94, 0.2);
	color: #86efac;
}

.subscription-result__icon--processing {
	background: rgba(56, 189, 248, 0.2);
	color: var(--color-accent);
}

.subscription-result__icon--canceled {
	background: rgba(239, 68, 68, 0.2);
	color: #fca5a5;
}

.subscription-result__title {
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 16px;
	text-align: center;
}

.subscription-result__message {
	color: var(--color-muted);
	font-size: 1rem;
	line-height: 1.6;
	margin: 0 0 32px;
	text-align: center;
}

.subscription-result__help {
	color: var(--color-muted);
	font-size: 0.85rem;
	text-align: center;
	margin: 24px 0 0;
}

.subscription-result__help a {
	color: var(--color-accent);
	text-decoration: underline;
}

.subscription-result__container .button {
	width: 100%;
	margin-bottom: 12px;
}

.subscription-result__container .button:last-child {
	margin-bottom: 0;
}

.site-footer {
	border-top: 1px solid var(--color-border);
	padding: 48px 28px;
	color: var(--color-muted);
}

.site-footer__inner {
	max-width: 1080px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.site-footer__legal {
	margin: 0;
	font-size: 0.9rem;
}

.site-footer__version {
	color: var(--color-muted);
	font-size: 0.8rem;
	cursor: help;
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

.site-footer__version:hover {
	opacity: 1;
}

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 0.9rem;
}

.site-footer__links a {
	color: var(--color-text);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus {
	color: var(--color-accent);
	border-color: var(--color-accent);
}

@media (max-width: 980px) {
	.hero {
		grid-template-columns: 1fr;
	}

	.hero__card {
		max-width: 360px;
		justify-self: center;
	}
}

@media (max-width: 768px) {
	.site-header__toggle {
		display: flex;
	}

	.site-header__inner {
		padding: 12px 20px;
		position: relative;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: rgba(2, 6, 23, 0.98);
		backdrop-filter: blur(18px);
		border-bottom: 1px solid var(--color-border);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
	}

	.site-nav--open {
		max-height: 400px;
		opacity: 1;
		padding: 12px 0;
		box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
	}

	.site-nav__link {
		display: block;
		width: 100%;
		margin: 4px 20px;
		padding: 12px 18px;
		border-radius: 12px;
		border: 1px solid rgba(148, 163, 184, 0.2);
		background: rgba(15, 23, 42, 0.75);
		font-size: 1rem;
	}

	.site-nav__link:hover {
		background: rgba(56, 189, 248, 0.12);
		border-color: rgba(56, 189, 248, 0.28);
	}

	.site-nav__cta {
		margin: 12px 20px;
		display: block;
		text-align: center;
	}

	.landing {
		gap: 80px;
		padding: 60px 20px;
	}

	.hero__title {
		font-size: clamp(2.2rem, 8vw, 3rem);
	}
}

@media (max-width: 720px) {
	.hero__card {
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.hero__actions {
		flex-direction: column;
		width: 100%;
	}

	.button {
		width: 100%;
	}

	.site-logo__tagline {
		display: none;
	}
}

.site-footer__version {
	color: rgb(156, 163, 175);
	font-size: 0.875rem;
	cursor: help;
		position: relative;
		display: inline-block;
	}
	
	.site-footer__version::after {
		content: attr(title);
		position: absolute;
		bottom: 100%;
		left: 50%;
		transform: translateX(-50%) translateY(-8px);
		background-color: rgba(0, 0, 0, 0.9);
		color: white;
		padding: 6px 12px;
		border-radius: 6px;
		font-size: 0.75rem;
		white-space: nowrap;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.2s ease-in-out;
		z-index: 1000;
	}
	
	.site-footer__version:hover::after {
		opacity: 1;
	}

	@media (min-width: 720px) {
		.site-footer__inner {
			flex-direction: row;
			justify-content: space-between;
			text-align: left;
		}

		.site-footer__links {
			justify-content: flex-end;
		}
	}

/* Authentication Modal */
.auth-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(2, 6, 23, 0.85);
	backdrop-filter: blur(8px);
	z-index: 1000;
	overflow-y: auto;
	padding: 20px;
}

.auth-modal.is-active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.auth-modal__content {
	position: relative;
	width: 100%;
	max-width: 440px;
	background: var(--color-panel);
	border-radius: 20px;
	border: 1px solid rgba(56, 189, 248, 0.22);
	box-shadow: 0 25px 60px rgba(2, 6, 23, 0.6);
	padding: 40px;
	animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.auth-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: transparent;
	border: none;
	color: var(--color-muted);
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
	transition: color 0.2s ease;
}

.auth-modal__close:hover,
.auth-modal__close:focus {
	color: var(--color-text);
}

.auth-modal__form {
	display: none;
}

.auth-modal__form.is-active {
	display: block;
}

/* Authentication Form */
.auth-form {
	width: 100%;
}

.auth-form__title {
	margin: 0 0 28px;
	font-size: 1.75rem;
	text-align: center;
}

.auth-form__alert,
.auth-form__notice {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 0.9rem;
}

.auth-form__alert {
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #fca5a5;
}

.auth-form__notice {
	background: rgba(34, 197, 94, 0.1);
	border: 1px solid rgba(34, 197, 94, 0.3);
	color: #86efac;
}

.auth-form__errors {
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.3);
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 20px;
}

.auth-form__errors ul {
	margin: 0;
	padding-left: 20px;
	color: #fca5a5;
}

.auth-form__errors li {
	font-size: 0.9rem;
}

.auth-form__form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.auth-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.auth-form__label {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-text);
}

.auth-form__input {
	padding: 12px 16px;
	border-radius: 10px;
	border: 1px solid var(--color-border);
	background: rgba(2, 6, 23, 0.6);
	color: var(--color-text);
	font-size: 1rem;
	font-family: var(--font-sans);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form__input:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.auth-form__input::placeholder {
	color: rgba(203, 213, 245, 0.5);
}

/* OAuth Buttons */
.oauth-buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 24px;
}

.oauth-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	padding: 12px 20px;
	border-radius: 10px;
	border: 1px solid var(--color-border);
	background: rgba(15, 23, 42, 0.6);
	color: var(--color-text);
	font-size: 0.95rem;
	font-weight: 500;
	font-family: var(--font-sans);
	cursor: pointer;
	transition: all 0.2s ease;
}

.oauth-button:hover,
.oauth-button:focus {
	border-color: var(--color-accent);
	background: rgba(15, 23, 42, 0.8);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.oauth-button:active {
	transform: translateY(0);
}

.oauth-button__icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.oauth-button--github:hover {
	border-color: #6e5494;
}

.oauth-button--google:hover {
	border-color: #4285f4;
}

.oauth-button--apple:hover {
	border-color: #ffffff;
}

/* OAuth Divider */
.auth-form__divider {
	position: relative;
	text-align: center;
	margin: 28px 0;
}

.auth-form__divider::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 100%;
	height: 1px;
	background: var(--color-border);
}

.auth-form__divider span {
	position: relative;
	display: inline-block;
	padding: 0 16px;
	background: var(--color-panel);
	color: var(--color-muted);
	font-size: 0.85rem;
}

.auth-form__submit {
	padding: 14px 24px;
	border-radius: 10px;
	border: none;
	background: var(--color-accent);
	color: #0b1220;
	font-size: 1rem;
	font-weight: 600;
	font-family: var(--font-sans);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	margin-top: 8px;
}

.auth-form__submit:hover,
.auth-form__submit:focus {
	transform: translateY(-1px);
	box-shadow: 0 10px 25px rgba(56, 189, 248, 0.3);
}

.auth-form__submit:active {
	transform: translateY(0);
}

.auth-form__footer {
	margin-top: 20px;
	text-align: center;
	font-size: 0.9rem;
	color: var(--color-muted);
}

.auth-form__link {
	color: var(--color-accent);
	transition: color 0.2s ease;
}

.auth-form__link:hover,
.auth-form__link:focus {
	color: var(--color-accent-dark);
	text-decoration: underline;
}

@media (max-width: 480px) {
	.auth-modal__content {
		padding: 28px 24px;
	}

	.auth-form__title {
		font-size: 1.5rem;
	}
}

/* Dashboard Layout */
.dashboard {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--color-bg);
	--dashboard-shell-width: 800px;
}

.dashboard--medium {
	--dashboard-shell-width: 900px;
}

.dashboard--xl {
	--dashboard-shell-width: 1200px;
}

.dashboard--wide {
	--dashboard-shell-width: 1400px;
}

.dashboard--narrow {
	--dashboard-shell-width: 700px;
}

.dashboard-nav {
	background: var(--color-panel);
	border-bottom: 1px solid var(--color-border);
	backdrop-filter: blur(18px);
	position: sticky;
	top: 0;
	z-index: 10;
}

.dashboard-nav__inner {
	max-width: var(--dashboard-shell-width, 800px);
	margin: 0 auto;
	padding: 16px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.dashboard-nav__brand {
	text-decoration: none;
}

.dashboard-nav__brand-text {
	display: inline-flex;
	align-items: baseline;
	gap: 0.35rem;
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: -0.01em;
	text-transform: none;
	color: var(--color-text);
}

.dashboard-nav__brand-text-accent {
	color: var(--color-accent);
}

.dashboard-nav__menu {
	display: flex;
	align-items: center;
	gap: 20px;
}

.dashboard-nav__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.35;
	transition: background 0.2s ease, border-color 0.2s ease;
	text-decoration: none;
	border: 1px solid;
	font-family: var(--font-sans);
	white-space: nowrap;
	height: 37px;
	box-sizing: border-box;
}

.dashboard-nav__badge-label {
	opacity: 0.7;
	line-height: 1;
}

.dashboard-nav__badge-separator {
	opacity: 0.4;
	line-height: 1;
}

.dashboard-nav__badge-value {
	font-weight: 600;
	line-height: 1;
}

.dashboard-nav__badge:hover {
	background: rgba(56, 189, 248, 0.2) !important;
}

.dashboard-nav__badge--free {
	background: rgba(148, 163, 184, 0.1);
	color: var(--color-muted);
	border-color: rgba(148, 163, 184, 0.3);
}

.dashboard-nav__badge--individual {
	background: rgba(56, 189, 248, 0.1);
	color: var(--color-accent);
	border-color: rgba(56, 189, 248, 0.3);
}

.dashboard-nav__badge--professional {
	background: rgba(168, 85, 247, 0.1);
	color: #c084fc;
	border-color: rgba(168, 85, 247, 0.3);
}

.dashboard-nav__link {
	color: var(--color-muted);
	font-size: 0.9rem;
	transition: color 0.2s ease;
}

.dashboard-nav__link:hover,
.dashboard-nav__link:focus {
	color: var(--color-text);
}

.dashboard-nav__link--active {
	color: var(--color-accent);
	font-weight: 600;
}

.dashboard-nav__logout {
	padding: 8px 16px;
	border-radius: 8px;
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #fca5a5;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
	font-family: var(--font-sans);
}

.dashboard-nav__logout:hover,
.dashboard-nav__logout:focus {
	background: rgba(239, 68, 68, 0.15);
	border-color: rgba(239, 68, 68, 0.4);
}

/* Mobile menu toggle button */
.dashboard-nav__toggle {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 32px;
	height: 32px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 4px;
	z-index: 11;
}

.dashboard-nav__toggle span {
	width: 24px;
	height: 2px;
	background: var(--color-text);
	border-radius: 2px;
	transition: all 0.3s ease;
	transform-origin: center;
}

.dashboard-nav__toggle[aria-expanded="true"] span:nth-child(1) {
	transform: rotate(45deg) translateY(7px);
}

.dashboard-nav__toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.dashboard-nav__toggle[aria-expanded="true"] span:nth-child(3) {
	transform: rotate(-45deg) translateY(-7px);
}

.dashboard-main {
	flex: 1;
	padding: 40px 28px;
}

.dashboard-content {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.dashboard-content--narrow {
	max-width: 700px;
}

.dashboard-content--medium {
	max-width: 900px;
}

.dashboard-content--xl {
	max-width: 1200px;
}

/* Alerts */
.alert {
	padding: 14px 18px;
	border-radius: 10px;
	font-size: 0.9rem;
	line-height: 1.5;
}

.alert--success {
	background: rgba(34, 197, 94, 0.1);
	border: 1px solid rgba(34, 197, 94, 0.3);
	color: #86efac;
}

.alert--error {
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #fca5a5;
}

.alert--info {
	background: rgba(59, 130, 246, 0.1);
	border: 1px solid rgba(59, 130, 246, 0.3);
	color: #93c5fd;
}

.alert--warning {
	background: rgba(245, 158, 11, 0.1);
	border: 1px solid rgba(245, 158, 11, 0.3);
	color: #fbbf24;
}

.alert ul {
	margin: 0;
	padding-left: 20px;
}

.alert li {
	margin: 4px 0;
}

/* Profile Header */
.profile-header {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.profile-header__title {
	font-size: 2.5rem;
	margin: 0;
	font-weight: 700;
}

.profile-header__subtitle {
	color: var(--color-muted);
	font-size: 1.1rem;
	margin: 0;
}

/* Profile Card */
.profile-card {
	background: var(--color-panel);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	padding: 32px;
	box-shadow: 0 10px 30px rgba(2, 6, 23, 0.3);
}

.profile-card__title {
	margin: 0 0 24px;
	font-size: 1.4rem;
	font-weight: 600;
}

.profile-card__description {
	color: var(--color-muted);
	margin: 16px 0;
}

.profile-card__list {
	margin: 16px 0;
	padding-left: 24px;
	color: var(--color-muted);
}

.profile-card__list li {
	margin: 8px 0;
}

.profile-card--danger {
	border-color: rgba(239, 68, 68, 0.3);
	background: rgba(239, 68, 68, 0.02);
}

.profile-card--danger .profile-card__title {
	color: #fca5a5;
}

/* Profile Info Display */
.profile-info {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0 0 28px;
}

.profile-info__row {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 20px;
	padding: 12px 0;
	border-bottom: 1px solid var(--color-border);
}

.profile-info__row:last-child {
	border-bottom: none;
}

.profile-info__label {
	font-weight: 600;
	color: var(--color-muted);
}

.profile-info__value {
	margin: 0;
	color: var(--color-text);
}

/* Profile Form */
.profile-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.profile-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.profile-form__label {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-text);
}

.profile-form__input {
	padding: 12px 16px;
	border-radius: 10px;
	border: 1px solid var(--color-border);
	background: rgba(2, 6, 23, 0.6);
	color: var(--color-text);
	font-size: 1rem;
	font-family: var(--font-sans);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.profile-form__input:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.profile-form__input::placeholder {
	color: rgba(203, 213, 245, 0.5);
}

.profile-form__input:disabled,
.profile-form__input[readonly] {
	background: rgba(2, 6, 23, 0.4);
	color: rgba(203, 213, 245, 0.6);
	cursor: not-allowed;
	opacity: 0.7;
}

.profile-form__actions,
.profile-card__actions {
	display: flex;
	gap: 12px;
	margin-top: 12px;
}

/* API Tokens Page */
.api-tokens-page .profile-header {
	margin-bottom: 1.5rem;
}

.api-tokens-page .profile-header__title {
	font-size: 1.75rem;
	margin-bottom: 0.5rem;
}

.api-tokens-page .profile-header__subtitle {
	font-size: 0.95rem;
	margin-bottom: 1rem;
}

.profile-card__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1.5rem;
	gap: 1rem;
}

.profile-card__header > div {
	flex: 1;
}

.profile-card__header .profile-card__title {
	font-size: 1.1rem;
	margin: 0 0 0.5rem;
}

.profile-card__header .profile-card__description {
	font-size: 0.875rem;
	margin: 0;
}

.oauth-app-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 2rem;
}

.oauth-app-header__actions {
	display: flex;
	gap: 0.75rem;
	flex-shrink: 0;
}

.api-token-alert {
	margin-bottom: 2rem;
}

.api-token-display {
	margin-top: 1rem;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
	word-break: break-all;
	font-size: 0.9rem;
	color: #fbbf24;
	margin-bottom: 1rem;
}

.api-tokens-list {
	display: grid;
	gap: 1rem;
}

.api-token-item {
	border: 1px solid var(--color-border);
	border-radius: 8px;
	padding: 1.25rem;
	background: rgba(2, 6, 23, 0.4);
	transition: background 0.2s ease;
}

.api-token-item:hover {
	background: rgba(2, 6, 23, 0.6);
}

.api-token-item__content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
}

.api-token-item__info {
	flex: 1;
}

.api-token-item__header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.api-token-item__name {
	font-size: 1rem;
	font-weight: 600;
	margin: 0;
}

.api-token-item__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.875rem;
	color: var(--color-muted);
}

.text-muted {
	color: rgba(203, 213, 245, 0.6);
}

.empty-state {
	text-align: center;
	padding: 3rem 1rem;
}

.empty-state__icon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.empty-state__title {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.empty-state__description {
	color: var(--color-muted);
	font-size: 0.875rem;
}

.api-docs-card {
	margin-top: 2rem;
}

.api-docs-details {
	cursor: pointer;
}

.api-docs-summary {
	font-size: 1.125rem;
	font-weight: 600;
	padding: 0.5rem 0;
	user-select: none;
	cursor: pointer;
	list-style: none;
}

.api-docs-summary::-webkit-details-marker {
	display: none;
}

.api-docs-content {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--color-border);
}

.api-docs-intro {
	color: var(--color-muted);
	font-size: 0.875rem;
	margin-bottom: 1.5rem;
}

.api-docs-section {
	margin-bottom: 2rem;
}

.api-docs-section:last-child {
	margin-bottom: 0;
}

.api-docs-section__title {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-text);
	margin-bottom: 0.75rem;
}

.code-block {
	background: rgba(255, 255, 255, 0.03);
	padding: 1rem;
	border: 1px solid var(--color-border);
	border-radius: 6px;
	overflow-x: auto;
	font-family: 'Monaco', 'Menlo', monospace;
	font-size: 0.875rem;
	margin: 0;
	line-height: 1.6;
}

.code-block code {
	color: var(--color-text);
}

/* Billing Page Styles */
.usage-stats {
	margin: 24px 0;
}

.usage-stats__header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
}

.usage-stats__label {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-text);
}

.usage-stats__count {
	font-size: 0.9rem;
	color: var(--color-muted);
}

.progress-bar {
	width: 100%;
	height: 8px;
	background: rgba(148, 163, 184, 0.2);
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 12px;
}

.progress-bar__fill {
	height: 100%;
	transition: width 0.3s ease;
	border-radius: 999px;
}

.progress-bar__fill--success {
	background: var(--color-accent);
}

.progress-bar__fill--warning {
	background: #fbbf24;
}

.progress-bar__fill--danger {
	background: #ef4444;
}

.badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	margin-bottom: 16px;
}

.badge--success {
	background: rgba(34, 197, 94, 0.15);
	color: #86efac;
}

.badge--warning {
	background: rgba(251, 191, 36, 0.15);
	color: #fbbf24;
}

.badge--danger {
	background: rgba(239, 68, 68, 0.15);
	color: #fca5a5;
}

.feature-list {
	list-style: none;
	padding: 0;
	margin: 16px 0;
}

.feature-list__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(148, 163, 184, 0.1);
	font-size: 0.9rem;
}

.feature-list__item:last-child {
	border-bottom: none;
}

.feature-list__item--included {
	color: var(--color-text);
}

.feature-list__item--muted {
	color: var(--color-muted);
	font-size: 0.85rem;
}

.feature-list__icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 2px;
}

.feature-list__item--included .feature-list__icon {
	color: var(--color-accent);
}

.feature-list__item--muted .feature-list__icon {
	color: var(--color-muted);
}

.feature-list--compact {
	margin: 16px 0;
}

.feature-list--compact .feature-list__item {
	padding: 6px 0;
	font-size: 0.85rem;
}

.upgrade-card {
	background: rgba(15, 23, 42, 0.6);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 24px;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.upgrade-card:hover {
	transform: translateY(-2px);
	border-color: rgba(56, 189, 248, 0.4);
}

.upgrade-card--individual {
	border-color: rgba(56, 189, 248, 0.3);
	background: linear-gradient(135deg, rgba(56, 189, 248, 0.05), rgba(15, 23, 42, 0.6));
}

.upgrade-card--professional {
	border-color: rgba(168, 85, 247, 0.3);
	background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(15, 23, 42, 0.6));
}

.upgrade-card--thank-you {
	border-color: rgba(168, 85, 247, 0.3);
	background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(15, 23, 42, 0.6));
	text-align: center;
}

.upgrade-card__header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.upgrade-card__icon {
	width: 32px;
	height: 32px;
	color: var(--color-accent);
	flex-shrink: 0;
}

.upgrade-card--professional .upgrade-card__icon {
	color: #c084fc;
}

.upgrade-card__icon--large {
	width: 48px;
	height: 48px;
	margin: 0 auto 16px;
	display: block;
	color: #c084fc;
}

.upgrade-card__title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-text);
	margin: 0;
}

.upgrade-card__description {
	color: var(--color-muted);
	font-size: 0.9rem;
	line-height: 1.5;
	margin: 0 0 16px;
}

.upgrade-card__price {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin: 16px 0 8px;
}

.upgrade-card__amount {
	font-size: 2rem;
	font-weight: 700;
	color: var(--color-text);
}

.upgrade-card__period {
	font-size: 0.9rem;
	color: var(--color-muted);
}

.upgrade-card__note {
	font-size: 0.8rem;
	color: var(--color-muted);
	margin: 0 0 16px;
}

.profile-card__subtitle {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--color-text);
	margin: 20px 0 12px;
}

.profile-card--help {
	border-color: rgba(56, 189, 248, 0.2);
}

.link {
	color: var(--color-text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.link--accent {
	color: var(--color-accent);
	font-weight: 500;
}

.link--accent:hover {
	color: var(--color-accent-dark);
}

.button--full {
	width: 100%;
}

@media (max-width: 768px) {
	.dashboard-nav__toggle {
		display: flex;
	}

	.dashboard-nav__inner {
		padding: 12px 20px;
		position: relative;
	}

	.dashboard-nav__menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--color-panel);
		border-bottom: 1px solid var(--color-border);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
	}

	.dashboard-nav__menu--open {
		max-height: 400px;
		opacity: 1;
		padding: 12px 0;
		box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
	}

	.dashboard-nav__link {
		display: block;
		padding: 12px 20px;
		border-bottom: 1px solid rgba(203, 213, 245, 0.05);
		font-size: 1rem;
	}

	.dashboard-nav__link:hover {
		background: rgba(203, 213, 245, 0.05);
	}

	.dashboard-nav__link--active {
		background: rgba(56, 189, 248, 0.1);
		border-left: 3px solid var(--color-accent);
		padding-left: 17px;
	}

	.dashboard-nav__badge {
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 16px 0 8px 0;
		width: 100%;
		padding: 12px 20px;
		height: auto;
		box-sizing: border-box;
		border-bottom: 1px solid rgba(203, 213, 245, 0.05);
		border-top: 1px solid rgba(203, 213, 245, 0.1);
	}

	.dashboard-nav__logout {
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 8px 0 12px 0;
		width: 100%;
		padding: 12px 20px;
		box-sizing: border-box;
	}

	.dashboard-main {
		padding: 24px 16px;
	}

	.dashboard-content {
		gap: 24px;
	}

	.profile-header__title {
		font-size: 1.75rem;
	}

	.profile-card {
		padding: 20px;
	}

	.profile-info__row {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.profile-form__actions,
	.profile-card__actions {
		flex-direction: column;
	}

	.button {
		width: 100%;
	}

	/* Connection cards on mobile */
	.connection-cards {
		grid-template-columns: 1fr;
	}

	.connection-card__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.connection-card__actions {
		width: 100%;
	}

	.connection-card__actions .button {
		flex: 1;
		min-width: 0;
	}
}

/* Standalone Auth Pages (sessions/new, passwords/new, registrations/new) */
.auth-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 45%),
		radial-gradient(circle at center right, rgba(14, 165, 233, 0.08), transparent 40%),
		var(--color-bg);
}

@media (max-width: 640px) {
	.auth-page {
		padding: 24px 16px;
	}

	.profile-header__title {
		font-size: 1.5rem;
	}

	.connection-card__name {
		font-size: 1rem;
	}
}

.auth-page__container {
	width: 100%;
	max-width: 480px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.auth-page__header {
	text-align: center;
}

.auth-page__logo {
	display: inline-block;
	text-decoration: none;
}

.auth-page__logo-text {
	font-weight: 700;
	letter-spacing: -0.02em;
	font-size: 1.25rem;
	color: var(--color-text);
	transition: color 0.2s ease;
}

.auth-page__logo:hover .auth-page__logo-text,
.auth-page__logo:focus .auth-page__logo-text {
	color: var(--color-accent);
}

.auth-page__card {
	background: var(--color-panel);
	border-radius: 20px;
	border: 1px solid rgba(56, 189, 248, 0.22);
	box-shadow: 0 25px 60px rgba(2, 6, 23, 0.6);
	padding: 48px;
	animation: authPageSlideIn 0.4s ease-out;
}

@keyframes authPageSlideIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.auth-form__subtitle {
	margin: -16px 0 24px;
	color: var(--color-muted);
	text-align: center;
	font-size: 0.95rem;
}

.auth-page__footer {
	text-align: center;
}

.auth-page__back {
	color: var(--color-muted);
	font-size: 0.9rem;
	transition: color 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.auth-page__back:hover,
.auth-page__back:focus {
	color: var(--color-accent);
}

@media (max-width: 540px) {
	.auth-page {
		padding: 20px;
	}

	.auth-page__card {
		padding: 32px 24px;
	}

	.auth-form__title {
		font-size: 1.6rem;
	}
}

/* Activity Log Styles */
.activity-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.activity-stat {
	background: rgba(15, 23, 42, 0.4);
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 1rem;
	padding: 2rem;
	text-align: center;
	transition: all 0.2s ease;
}

.activity-stat:hover {
	border-color: rgba(56, 189, 248, 0.3);
	background: rgba(15, 23, 42, 0.6);
}

.activity-stat__value {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 0.5rem;
	line-height: 1;
}

.activity-stat__label {
	font-size: 0.875rem;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 500;
}

.activity-table-wrapper {
	overflow-x: auto;
	margin: -1.5rem;
	padding: 1.5rem;
}

.activity-table {
	width: 100%;
	border-collapse: collapse;
}

.activity-table thead {
	background: rgba(15, 23, 42, 0.6);
	border-bottom: 2px solid rgba(148, 163, 184, 0.15);
}

.activity-table th {
	padding: 1rem 1.5rem;
	text-align: left;
	font-size: 0.75rem;
	font-weight: 600;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.activity-table__row {
	border-bottom: 1px solid rgba(148, 163, 184, 0.1);
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.activity-table__row:hover {
	background: rgba(56, 189, 248, 0.05);
}

.activity-table td {
	padding: 1rem 1.5rem;
	white-space: nowrap;
	font-size: 0.875rem;
	color: var(--color-text);
}

.activity-operation {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.activity-operation__icon {
	font-size: 1.5rem;
}

.activity-operation__name {
	font-weight: 500;
}

.activity-file {
	max-width: 300px;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #cbd5e1;
}

.activity-link {
	color: #38bdf8;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s ease;
}

.activity-link:hover {
	color: #0ea5e9;
	text-decoration: underline;
}

.activity-details {
	color: #94a3b8;
}

.activity-time {
	color: #94a3b8;
}

.activity-pagination {
	padding: 1.5rem;
	border-top: 2px solid rgba(148, 163, 184, 0.15);
}

.activity-related-item {
	display: block;
	padding: 0.75rem;
	background-color: rgba(15, 23, 42, 0.4);
	border-radius: 0.5rem;
	text-decoration: none;
	transition: background-color 0.2s;
	border: 1px solid rgba(148, 163, 184, 0.1);
}

.activity-related-item:hover {
	background-color: rgba(56, 189, 248, 0.08);
	border-color: rgba(56, 189, 248, 0.2);
}

.empty-state {
	padding: 4rem 2rem;
	text-align: center;
}

.empty-state__title {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--color-text);
	margin-bottom: 0.75rem;
}

.empty-state__message {
	color: #94a3b8;
	margin-bottom: 1.5rem;
	font-size: 1rem;
}

/* Badge Styles */
.badge {
	display: inline-block;
	padding: 0.375rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 600;
	border-radius: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

.badge--success {
	background: rgba(16, 185, 129, 0.15);
	color: #10b981;
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge--failed {
	background: rgba(239, 68, 68, 0.15);
	color: #ef4444;
	border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge--in_progress {
	background: rgba(56, 189, 248, 0.15);
	color: #38bdf8;
	border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge--webapp {
	background: rgba(139, 92, 246, 0.15);
	color: #8b5cf6;
	border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge--chatgpt {
	background: rgba(16, 185, 129, 0.15);
	color: #10b981;
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge--api {
	background: rgba(249, 115, 22, 0.15);
	color: #f97316;
	border: 1px solid rgba(249, 115, 22, 0.3);
}

.badge--inactive {
	background: rgba(148, 163, 184, 0.15);
	color: #94a3b8;
	border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Activity Table Responsive Styles */
@media (max-width: 768px) {
	.activity-table-wrapper {
		margin: -1rem;
		padding: 0;
		border-radius: 0;
	}

	.activity-table {
		display: block;
		width: 100%;
		min-width: 100%;
	}

	.activity-table thead {
		display: none;
	}

	.activity-table tbody {
		display: block;
	}

	.activity-table__row {
		display: block;
		padding: 0.75rem;
		margin-bottom: 0.5rem;
		border: 1px solid rgba(148, 163, 184, 0.1);
		border-radius: 0.5rem;
		background: rgba(15, 23, 42, 0.4);
	}

	.activity-table__row:hover {
		background: rgba(56, 189, 248, 0.08);
	}

	.activity-table td {
		display: block;
		padding: 0.375rem 0;
		white-space: normal;
		text-align: left;
		border: none;
		font-size: 0.8125rem;
	}

	.activity-table td::before {
		content: attr(data-label);
		display: inline-block;
		font-weight: 600;
		font-size: 0.6875rem;
		color: #94a3b8;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		margin-bottom: 0.125rem;
		width: 100%;
	}

	.activity-operation {
		margin-top: 0.125rem;
	}

	.activity-operation__icon {
		font-size: 1.25rem;
	}

	.activity-file {
		max-width: 100%;
		white-space: normal;
		word-break: break-word;
	}

	.activity-details,
	.activity-time {
		font-size: 0.75rem;
	}

	.badge {
		padding: 0.25rem 0.5rem;
		font-size: 0.6875rem;
	}
}

/* Connection Show Page Styles */
.connection-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding-bottom: 2rem;
	border-bottom: 2px solid rgba(148, 163, 184, 0.15);
	margin-bottom: 2rem;
	gap: 2rem;
}

.connection-header__info {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex: 1;
}

.connection-header__title {
	font-size: 2rem;
	font-weight: 700;
	color: var(--color-text);
	margin: 0;
	line-height: 1.2;
}

.connection-header__actions {
	display: flex;
	gap: 0.75rem;
	flex-shrink: 0;
	flex-wrap: wrap;
	align-items: center;
}

.connection-header__actions form {
	margin: 0;
	display: flex;
}

.connection-header__actions .button {
	min-width: 120px;
	justify-content: center;
	white-space: nowrap;
}

.connection-section-title {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--color-text);
	margin-bottom: 1.5rem;
	letter-spacing: 0.01em;
}

.connection-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.connection-detail {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.connection-detail dt {
	font-size: 0.875rem;
	font-weight: 600;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.connection-detail dd {
	font-size: 0.95rem;
	color: #cbd5e1;
	margin: 0;
}

.connection-detail__type {
	font-weight: 700;
	color: var(--color-text);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.connection-actions {
	display: flex;
	gap: 1rem;
	padding-top: 2rem;
	border-top: 2px solid rgba(148, 163, 184, 0.15);
}

.connection-actions form {
	margin: 0;
}

.connection-actions .button {
	min-width: 160px;
	justify-content: center;
}

/* Activity List on Connection Show Page */
.activity-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.activity-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem;
	background: rgba(15, 23, 42, 0.4);
	border: 1px solid rgba(148, 163, 184, 0.15);
	border-radius: 0.75rem;
	transition: all 0.2s ease;
	gap: 1rem;
}

.activity-item:hover {
	background: rgba(15, 23, 42, 0.6);
	border-color: rgba(56, 189, 248, 0.3);
}

.activity-item__content {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex: 1;
	min-width: 0;
}

.activity-item__icon {
	font-size: 1.5rem;
	flex-shrink: 0;
}

.activity-item__details {
	flex: 1;
	min-width: 0;
}

.activity-item__file {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin: 0 0 0.25rem 0;
}

.activity-item__meta {
	font-size: 0.75rem;
	color: #94a3b8;
	margin: 0;
}

.activity-item__badges {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.connection-header {
		flex-direction: column;
		gap: 1.5rem;
	}

	.connection-header__actions {
		width: 100%;
		flex-direction: column;
	}

	.connection-header__actions form {
		width: 100%;
	}

	.connection-header__actions .button {
		width: 100%;
		min-width: unset;
	}

	.connection-actions {
		flex-direction: column;
	}

	.connection-actions .button {
		width: 100%;
		min-width: unset;
	}

	.connection-actions form {
		width: 100%;
	}

	.activity-item {
		flex-direction: column;
		align-items: flex-start;
	}

	.activity-item__badges {
		width: 100%;
		justify-content: flex-start;
	}
}

/* File Browser Styles */
.file-breadcrumb {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
}

.file-breadcrumb__link {
	color: #38bdf8;
	text-decoration: none;
	transition: color 0.2s ease;
	font-weight: 500;
}

.file-breadcrumb__link:hover {
	color: #0ea5e9;
}

.file-breadcrumb__separator {
	color: #475569;
	user-select: none;
}

.file-breadcrumb__current {
	color: var(--color-text);
	font-weight: 600;
}

.file-table-wrapper {
	overflow-x: auto;
}

/* File Search Bar */
.file-search-bar {
	background: var(--color-surface);
	border-radius: 12px;
	overflow: hidden;
}

.file-search-input {
	flex: 1;
	background: transparent;
	border: none;
	color: var(--color-text);
	font-size: 0.875rem;
	outline: none;
	padding: 0;
}

.file-search-input::placeholder {
	color: #64748b;
}

.file-table {
	width: 100%;
	border-collapse: collapse;
}

.file-table thead {
	background: rgba(15, 23, 42, 0.6);
	border-bottom: 2px solid rgba(148, 163, 184, 0.15);
}

.file-table th {
	padding: 1rem 1.5rem;
	text-align: left;
	font-size: 0.75rem;
	font-weight: 600;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Sortable Headers */
.sortable-header {
	cursor: pointer;
	user-select: none;
	transition: background-color 0.15s ease;
	position: relative;
}

.sortable-header:hover {
	background: rgba(56, 189, 248, 0.1);
	color: #38bdf8;
}

.sort-indicator {
	display: inline-block;
	margin-left: 0.25rem;
	color: #38bdf8;
	font-size: 0.75rem;
}

.file-table__row {
	border-bottom: 1px solid rgba(148, 163, 184, 0.1);
	transition: background-color 0.15s ease;
}

.file-table__row:hover {
	background: rgba(56, 189, 248, 0.05);
}

.file-table td {
	padding: 1rem 1.5rem;
	font-size: 0.875rem;
}

.file-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
}

.file-item__icon {
	font-size: 1.5rem;
	flex-shrink: 0;
}

.file-item__name {
	color: var(--color-text);
	font-weight: 500;
}

.file-item__name--link {
	color: #38bdf8;
	transition: color 0.2s ease;
}

.file-item__name--link:hover {
	color: #0ea5e9;
}

.file-table__meta {
	color: #94a3b8;
	white-space: nowrap;
}

.file-actions {
	display: flex;
	gap: 0.5rem;
	justify-content: flex-end;
	align-items: center;
}

.file-action {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	border-radius: 0.5rem;
	transition: all 0.2s ease;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	background: none;
	font-family: var(--font-sans);
	line-height: 1.5;
	height: 38px;
	box-sizing: border-box;
}

.file-action--download {
	color: #38bdf8;
	border-color: rgba(56, 189, 248, 0.3);
	background: rgba(56, 189, 248, 0.1);
}

.file-action--download:hover {
	background: rgba(56, 189, 248, 0.2);
	border-color: #38bdf8;
	transform: translateY(-1px);
}

.file-action--delete {
	color: #ef4444;
	border-color: rgba(239, 68, 68, 0.3);
	background: rgba(239, 68, 68, 0.1);
}

.file-action--delete:hover {
	background: rgba(239, 68, 68, 0.2);
	border-color: #ef4444;
	transform: translateY(-1px);
}

form.button_to .file-action {
	margin: 0;
}

.storage-class-badge {
	display: inline-block;
	padding: 0.25rem 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	border-radius: 0.375rem;
	background: rgba(139, 92, 246, 0.15);
	color: #8b5cf6;
	border: 1px solid rgba(139, 92, 246, 0.3);
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

/* File Type Badge */
.file-type-badge {
	display: inline-block;
	padding: 0.25rem 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	border-radius: 0.375rem;
	letter-spacing: 0.025em;
}

.file-type-badge--folder {
	background: rgba(56, 189, 248, 0.15);
	color: #38bdf8;
	border: 1px solid rgba(56, 189, 248, 0.3);
}

.file-type-badge--file {
	background: rgba(148, 163, 184, 0.15);
	color: #94a3b8;
	border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Connection Type Selector - Progressive Disclosure */
.connection-type-selector {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.connection-type-button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 2rem 1.5rem;
	background: rgba(15, 23, 42, 0.4);
	border: 2px solid rgba(148, 163, 184, 0.2);
	border-radius: 0.75rem;
	cursor: pointer;
	transition: all 0.2s ease;
	width: 100%;
	text-align: center;
	position: relative;
	font-family: var(--font-sans);
}

.connection-type-button:hover {
	background: rgba(15, 23, 42, 0.6);
	border-color: rgba(56, 189, 248, 0.4);
	transform: translateY(-4px);
}

.connection-type-button[data-selected="true"] {
	background: rgba(56, 189, 248, 0.1);
	border-color: #38bdf8;
	box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.2);
}

.connection-type-button[data-selected="true"]:hover {
	transform: translateY(-2px);
}

.connection-type-button__icon {
	font-size: 3rem;
	flex-shrink: 0;
	line-height: 1;
}

.connection-type-button__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
}

.connection-type-button__title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-text);
}

.connection-type-button__description {
	font-size: 0.875rem;
	color: #94a3b8;
	line-height: 1.4;
}

.connection-type-button__check {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	font-size: 1.5rem;
	color: #38bdf8;
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
	transform: scale(0.8);
}

.connection-type-button[data-selected="true"] .connection-type-button__check {
	opacity: 1;
	transform: scale(1);
}

/* Authentication Method Buttons */
.auth-method-button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1.5rem 1rem;
	background: rgba(15, 23, 42, 0.4);
	border: 2px solid rgba(148, 163, 184, 0.2);
	border-radius: 0.75rem;
	cursor: pointer;
	transition: all 0.2s ease;
	flex: 1;
	text-align: center;
	font-family: var(--font-sans);
	position: relative;
}

.auth-method-button:hover {
	background: rgba(15, 23, 42, 0.6);
	border-color: rgba(56, 189, 248, 0.4);
	transform: translateY(-2px);
}

.auth-method-button[data-selected="true"] {
	background: rgba(56, 189, 248, 0.1);
	border-color: #38bdf8;
	box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.2);
}

.auth-method-button__icon {
	font-size: 2rem;
}

.auth-method-button__title {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-text);
}

.auth-method-button__description {
	font-size: 0.75rem;
	color: var(--color-muted);
	margin-top: 0.25rem;
}

.auth-method-button__check {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #38bdf8;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.875rem;
	opacity: 0;
	transform: scale(0.8);
	transition: all 0.2s ease;
}

.auth-method-button[data-selected="true"] .auth-method-button__check {
	opacity: 1;
	transform: scale(1);
}

/* SSH Key Input Method Selector */
.ssh-key-input-methods {
	display: flex;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.ssh-key-method-button {
	flex: 1;
	padding: 0.75rem 1rem;
	background: rgba(15, 23, 42, 0.4);
	border: 2px solid rgba(148, 163, 184, 0.2);
	border-radius: 0.5rem;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: var(--color-text);
	position: relative;
}

.ssh-key-method-button:hover {
	background: rgba(15, 23, 42, 0.6);
	border-color: rgba(56, 189, 248, 0.4);
}

.ssh-key-method-button[data-selected="true"] {
	background: rgba(56, 189, 248, 0.1);
	border-color: #38bdf8;
}

.ssh-key-method-button__icon {
	font-size: 1.25rem;
}

.ssh-key-method-button__check {
	margin-left: auto;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #38bdf8;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	opacity: 0;
	transform: scale(0.8);
	transition: all 0.2s ease;
}

.ssh-key-method-button[data-selected="true"] .ssh-key-method-button__check {
	opacity: 1;
	transform: scale(1);
}

/* Authentication Method Fields */
.auth-method-fields {
	margin-top: 1rem;
}

/* Connection Type Fields - Progressive Disclosure */
.connection-type-fields {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 2px solid rgba(148, 163, 184, 0.15);
}

/* Success Confirmation - "Magic Link" Style */
.connection-success {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 3rem 2rem;
	animation: successAppear 0.5s ease;
}

@keyframes successAppear {
	0% {
		opacity: 0;
		transform: scale(0.9) translateY(20px);
	}
	100% {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.connection-success__icon {
	font-size: 5rem;
	margin-bottom: 1.5rem;
	animation: successPulse 0.6s ease;
}

@keyframes successPulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
}

.connection-success__title {
	font-size: 2rem;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 0.75rem;
}

.connection-success__message {
	font-size: 1.125rem;
	color: #94a3b8;
	margin-bottom: 2rem;
	max-width: 480px;
}

.connection-success__card {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 2rem 2.5rem;
	background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(14, 165, 233, 0.1) 100%);
	border: 2px solid rgba(56, 189, 248, 0.3);
	border-radius: 1rem;
	margin-bottom: 2rem;
	min-width: 320px;
	box-shadow: 0 10px 30px rgba(56, 189, 248, 0.2);
	animation: cardGlow 2s ease-in-out infinite;
}

@keyframes cardGlow {
	0%, 100% {
		box-shadow: 0 10px 30px rgba(56, 189, 248, 0.2);
	}
	50% {
		box-shadow: 0 10px 40px rgba(56, 189, 248, 0.3);
	}
}

.connection-success__card-icon {
	font-size: 3rem;
	flex-shrink: 0;
}

.connection-success__card-content {
	text-align: left;
}

.connection-success__card-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-text);
	margin-bottom: 0.5rem;
}

.connection-success__card-details {
	font-size: 0.875rem;
	color: #94a3b8;
	font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}

.connection-success__actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
}

@media (max-width: 768px) {
	.connection-type-selector {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.connection-type-button {
		padding: 1.5rem 1rem;
		gap: 0.75rem;
	}

	.connection-type-button__icon {
		font-size: 2.5rem;
	}

	.connection-type-button__title {
		font-size: 1.125rem;
	}

	.connection-success__card {
		flex-direction: column;
		text-align: center;
		padding: 1.5rem;
	}

	.connection-success__card-content {
		text-align: center;
	}

	.connection-success__actions {
		flex-direction: column;
		width: 100%;
	}

	.connection-success__actions .button {
		width: 100%;
	}
}

/* AWS S3 Credential Help Panel */
.credential-help-panel {
	margin: 2rem 0;
	border: 2px solid var(--color-accent);
	border-radius: 12px;
	background: rgba(56, 189, 248, 0.05);
	overflow: hidden;
	transition: all 0.3s ease;
}

.credential-help-panel:hover {
	background: rgba(56, 189, 248, 0.08);
}

.help-toggle {
	width: 100%;
	padding: 1.25rem 1.5rem;
	background: transparent;
	border: none;
	display: flex;
	align-items: center;
	gap: 0.875rem;
	cursor: pointer;
	font-weight: 500;
	font-size: 1rem;
	color: var(--color-accent);
	transition: all 0.2s ease;
	text-align: left;
}

.help-toggle:hover {
	background: rgba(56, 189, 248, 0.08);
}

.help-toggle svg {
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.help-toggle--open svg {
	transform: rotate(180deg);
}

.help-content {
	padding: 0 2rem 2rem;
	max-height: 70vh;
	overflow-y: auto;
	animation: slideDown 0.3s ease;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.help-intro {
	padding: 1.5rem;
	background: rgba(56, 189, 248, 0.1);
	border-radius: 8px;
	margin-bottom: 2rem;
	border-left: 4px solid var(--color-accent);
}

.help-intro p {
	margin: 0;
	font-size: 1.0625rem;
	color: var(--color-text);
}

.help-step {
	display: flex;
	gap: 1.25rem;
	margin-bottom: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.help-step:last-of-type {
	border-bottom: none;
	margin-bottom: 2rem;
}

.step-number {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.125rem;
	box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.step-content {
	flex: 1;
}

.step-content h4 {
	margin: 0 0 0.75rem 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-text);
}

.step-content p {
	margin: 0 0 0.75rem 0;
	color: var(--color-muted);
	line-height: 1.7;
}

.step-content ul {
	margin: 0.75rem 0;
	padding-left: 1.5rem;
	color: var(--color-muted);
}

.step-content li {
	margin-bottom: 0.5rem;
	line-height: 1.7;
}

.step-content strong {
	color: var(--color-text);
	font-weight: 600;
}

.step-content code {
	background: rgba(15, 23, 42, 0.8);
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	font-family: 'SF Mono', Monaco, 'Courier New', monospace;
	font-size: 0.9375rem;
	color: var(--color-accent);
	border: 1px solid rgba(148, 163, 184, 0.2);
}

.code-block {
	background: rgba(15, 23, 42, 0.8);
	padding: 0.875rem 1.125rem;
	border-radius: 6px;
	font-family: 'SF Mono', Monaco, 'Courier New', monospace;
	font-size: 0.9375rem;
	color: var(--color-accent);
	border: 1px solid rgba(148, 163, 184, 0.2);
	margin: 0.75rem 0;
}

.help-tip {
	background: rgba(255, 193, 7, 0.1);
	border-left: 4px solid #ffc107;
	padding: 0.875rem 1.125rem;
	border-radius: 6px;
	margin: 0.75rem 0;
	font-size: 0.9375rem;
	color: var(--color-text);
}

.warning-box {
	background: rgba(239, 68, 68, 0.1);
	border: 2px solid rgba(239, 68, 68, 0.4);
	padding: 1rem 1.25rem;
	border-radius: 8px;
	margin: 0.75rem 0 1.25rem;
	color: #fca5a5;
	font-size: 0.9375rem;
}

.warning-box strong {
	color: #ef4444;
	display: block;
	margin-bottom: 0.5rem;
	font-size: 1rem;
}

.credential-mapping {
	background: rgba(15, 23, 42, 0.6);
	padding: 1.25rem;
	border-radius: 8px;
	border: 1px solid rgba(148, 163, 184, 0.2);
	margin-top: 1rem;
}

.mapping-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 0.75rem;
	font-size: 0.9375rem;
}

.mapping-item:last-child {
	margin-bottom: 0;
}

.mapping-label {
	color: var(--color-muted);
	font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}

.mapping-arrow {
	color: var(--color-accent);
	font-weight: 700;
	font-size: 1.25rem;
}

.mapping-field {
	color: var(--color-text);
	font-weight: 600;
}

.help-footer {
	background: rgba(15, 23, 42, 0.6);
	padding: 2rem;
	border-radius: 10px;
	border: 1px solid rgba(148, 163, 184, 0.2);
	margin-top: 2rem;
}

.help-footer-section {
	margin-bottom: 1.5rem;
}

.help-footer-section:last-child {
	margin-bottom: 0;
}

.help-footer-section strong {
	display: block;
	color: var(--color-text);
	font-size: 1.0625rem;
	margin-bottom: 0.625rem;
}

.help-footer-section p {
	margin: 0;
	color: var(--color-muted);
	line-height: 1.7;
}

.help-footer-section a {
	color: var(--color-accent);
	text-decoration: underline;
	transition: color 0.2s ease;
}

.help-footer-section a:hover {
	color: var(--color-accent-dark);
}

/* Responsive adjustments for help panel */
@media (max-width: 768px) {
	.help-content {
		padding: 0 1rem 1.5rem;
	}

	.help-toggle {
		padding: 1rem;
		font-size: 0.9375rem;
	}

	.help-step {
		flex-direction: column;
		gap: 0.75rem;
	}

	.step-number {
		width: 36px;
		height: 36px;
		font-size: 1rem;
	}

	.step-content h4 {
		font-size: 1.125rem;
	}

	.credential-mapping {
		padding: 1rem;
	}

	.mapping-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
		text-align: left;
	}

	.mapping-arrow {
		transform: rotate(90deg);
	}

	.help-footer {
		padding: 1.5rem;
	}
}

/* Admin Panel Styles */
.dashboard-content--wide {
	max-width: 1400px;
}

.admin-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 32px;
	gap: 24px;
}

.admin-header__title {
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--color-text);
	display: flex;
	align-items: center;
	gap: 12px;
}

.admin-header__subtitle {
	color: var(--color-muted);
	margin: 0;
}

.admin-header__back {
	color: var(--color-accent);
	text-decoration: none;
	font-size: 0.95rem;
	transition: color 0.2s ease;
}

.admin-header__back:hover {
	color: var(--color-accent-dark);
}

.admin-header__actions {
	display: flex;
	gap: 12px;
}

/* Admin Search */
.admin-search {
	display: flex;
	gap: 8px;
}

.admin-search__input {
	padding: 10px 16px;
	border-radius: 8px;
	border: 1px solid var(--color-border);
	background: rgba(2, 6, 23, 0.6);
	color: var(--color-text);
	font-size: 0.95rem;
	min-width: 300px;
	transition: border-color 0.2s ease;
}

.admin-search__input:focus {
	outline: none;
	border-color: var(--color-accent);
}

/* Admin Tabs */
.admin-tabs {
	display: flex;
	gap: 4px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--color-border);
}

.admin-tabs__tab {
	padding: 12px 20px;
	color: var(--color-muted);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
	font-weight: 500;
}

.admin-tabs__tab:hover {
	color: var(--color-text);
}

.admin-tabs__tab--active {
	color: var(--color-accent);
	border-bottom-color: var(--color-accent);
}

/* Admin Table */
.admin-table-wrapper {
	overflow-x: auto;
	border-radius: 12px;
	border: 1px solid var(--color-border);
	background: var(--color-panel);
}

.admin-table {
	width: 100%;
	border-collapse: collapse;
}

.admin-table thead {
	background: rgba(2, 6, 23, 0.6);
	border-bottom: 1px solid var(--color-border);
}

.admin-table th {
	padding: 12px;
	text-align: left;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--color-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.admin-table td {
	padding: 12px;
	border-bottom: 1px solid rgba(203, 213, 245, 0.05);
	vertical-align: middle;
}

.admin-table tbody tr {
	transition: background 0.2s ease;
}

.admin-table tbody tr:last-child td {
	border-bottom: none;
}

.admin-table tbody tr:hover {
	background: rgba(56, 189, 248, 0.03);
}

.admin-table__row--highlight {
	background: rgba(56, 189, 248, 0.05);
}

.admin-table__email {
	font-weight: 500;
}

.admin-table__link {
	color: var(--color-accent);
	text-decoration: none;
	transition: color 0.2s ease;
}

.admin-table__link:hover {
	color: var(--color-accent-dark);
	text-decoration: underline;
}

.admin-table__date {
	color: var(--color-muted);
	font-size: 0.9rem;
}

.admin-table__center {
	text-align: center;
}

.admin-table__user {
	font-weight: 500;
}

.admin-table__user-link {
	color: inherit;
	text-decoration: none;
	display: block;
}

.admin-table__user-link:hover {
	color: var(--color-accent);
}

.admin-table__user-email {
	color: var(--color-text);
	font-weight: 500;
	font-size: 0.95rem;
	margin-bottom: 2px;
}

.admin-table__user-name {
	color: var(--color-muted);
	font-size: 0.85rem;
	font-weight: 400;
}

.admin-table__actions {
	white-space: nowrap;
	text-align: right;
	display: table-cell !important;
}

.admin-table__actions-icons {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	justify-content: flex-end;
}

/* Action Icons */
.action-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	background: transparent;
	border: 1px solid var(--color-border);
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	padding: 0;
}

.action-icon:hover {
	background: rgba(56, 189, 248, 0.1);
	border-color: var(--color-accent);
	transform: translateY(-1px);
}

.action-icon--view {
	color: var(--color-accent);
}

.action-icon--view:hover {
	background: rgba(56, 189, 248, 0.15);
}

.action-icon--promote {
	color: #10b981;
}

.action-icon--promote:hover {
	background: rgba(16, 185, 129, 0.15);
	border-color: #10b981;
}

.action-icon--demote {
	color: #f59e0b;
}

.action-icon--demote:hover {
	background: rgba(245, 158, 11, 0.15);
	border-color: #f59e0b;
}

.action-icon--delete {
	color: #ef4444;
}

.action-icon--delete:hover {
	background: rgba(239, 68, 68, 0.15);
	border-color: #ef4444;
}

.action-icon-spacer {
	display: inline-block;
	width: 32px;
	height: 32px;
}

.admin-table__actions-group {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
}

/* Auth Icons */
.auth-icon {
	font-size: 1.25rem;
	display: inline-block;
	cursor: help;
}

.auth-icon--google {
	opacity: 0.85;
}

.auth-icon--email {
	opacity: 0.85;
}

.admin-table__truncate {
	max-width: 300px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.admin-table--compact td,
.admin-table--compact th {
	padding: 12px;
	font-size: 0.9rem;
}

/* Badges */
.badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.badge--success {
	background: rgba(34, 197, 94, 0.15);
	color: #86efac;
	border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge--info {
	background: rgba(59, 130, 246, 0.15);
	color: #93c5fd;
	border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge--secondary {
	background: rgba(148, 163, 184, 0.15);
	color: #cbd5e1;
	border: 1px solid rgba(148, 163, 184, 0.3);
}

.badge--default {
	background: rgba(203, 213, 245, 0.1);
	color: var(--color-muted);
	border: 1px solid var(--color-border);
}

/* Auth Method Badges */
.badge--auth-google {
	background: rgba(66, 133, 244, 0.15);
	color: #8ab4f8;
	border: 1px solid rgba(66, 133, 244, 0.3);
}

.badge--auth-apple {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge--auth-github {
	background: rgba(139, 148, 158, 0.15);
	color: #cbd5e1;
	border: 1px solid rgba(139, 148, 158, 0.3);
}

.badge--auth-email {
	background: rgba(148, 163, 184, 0.15);
	color: #cbd5e1;
	border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Admin Actions */
.admin-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Dropdown Menu */
.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-toggle {
	cursor: pointer;
	user-select: none;
}

.dropdown-menu {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	margin-top: 4px;
	background: var(--color-panel);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	min-width: 180px;
	z-index: 1000;
	overflow: hidden;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
	display: block;
}

.dropdown-item {
	display: block;
	width: 100%;
	padding: 10px 16px;
	color: var(--color-text);
	text-decoration: none;
	text-align: left;
	border: none;
	background: none;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background 0.2s ease;
}

.dropdown-item:hover {
	background: rgba(56, 189, 248, 0.1);
}

.dropdown-item--danger {
	color: #ef4444;
}

.dropdown-item--danger:hover {
	background: rgba(239, 68, 68, 0.1);
}

.dropdown-divider {
	height: 1px;
	background: var(--color-border);
	margin: 4px 0;
}

/* Button Sizes */
.button--sm {
	padding: 6px 12px;
	font-size: 0.85rem;
}

/* Admin Pagination */
.admin-pagination {
	margin-top: 32px;
	display: flex;
	justify-content: center;
}

/* Text utilities */
.text-muted {
	color: var(--color-muted);
}

/* Mobile Admin Styles */
@media (max-width: 768px) {
	.admin-header {
		flex-direction: column;
	}

	.admin-search__input {
		min-width: 100%;
	}

	.admin-tabs {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.admin-table-wrapper {
		overflow-x: auto;
	}

	.admin-table {
		min-width: 800px;
	}
	
	.admin-table th,
	.admin-table td {
		padding: 12px 8px;
		font-size: 0.85rem;
	}
	
	.admin-table__actions-icons {
		gap: 6px;
	}
	
	.action-icon {
		width: 28px;
		height: 28px;
		font-size: 0.9rem;
	}

	.admin-actions {
		flex-direction: column;
	}

	.admin-actions .button {
		width: 100%;
	}
}

/* ==========================================================================
   Upload Progress Tracking - Fixed Overlay Design
   ========================================================================== */

/* Fixed overlay at bottom right of screen */
.upload-progress-overlay {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  max-width: 480px;
  width: calc(100% - 4rem);
  animation: slideInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: all;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Progress card with glassmorphism effect */
.upload-progress-card {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.3),
    0 10px 10px -5px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Header with icon and filename */
.upload-progress-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}

.upload-progress-header__left {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.upload-progress-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.upload-progress-filename {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-progress-status {
  font-size: 0.85rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.upload-progress-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-color);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.upload-progress-close {
  background: rgba(148, 163, 184, 0.1);
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.upload-progress-close:hover {
  background: rgba(148, 163, 184, 0.2);
  color: #ffffff;
}

/* Progress bar container */
.upload-progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(148, 163, 184, 0.15);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.75rem;
}

.upload-progress-bar {
  height: 100%;
  width: 0%;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.upload-progress-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    var(--accent-color) 0%, 
    #60a5fa 100%);
  border-radius: 3px;
}

/* Shimmer effect */
.upload-progress-bar-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Footer with stats */
.upload-progress-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.upload-progress-text {
  font-size: 0.85rem;
  color: #e2e8f0;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  font-weight: 500;
}

.upload-progress-speed {
  font-size: 0.8rem;
  color: #94a3b8;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

/* Success state */
.upload-progress-card--success {
  border-color: rgba(34, 197, 94, 0.3);
}

.upload-progress-card--success .upload-progress-icon {
  color: #22c55e;
}

.upload-progress-card--success .upload-progress-status::before {
  background: #22c55e;
  animation: none;
}

.upload-progress-card--success .upload-progress-bar-fill {
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}

/* Error state */
.upload-progress-card--error {
  border-color: rgba(239, 68, 68, 0.3);
}

.upload-progress-card--error .upload-progress-icon {
  color: #ef4444;
}

.upload-progress-card--error .upload-progress-status::before {
  background: #ef4444;
  animation: none;
}

.upload-progress-card--error .upload-progress-bar-fill {
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

/* Mobile responsive */
@media (max-width: 640px) {
  .upload-progress-overlay {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    width: auto;
    max-width: none;
  }

  .upload-progress-card {
    padding: 1.25rem;
  }

  .upload-progress-filename {
    font-size: 0.9rem;
  }

  .upload-progress-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Upload button loading state */
.button--uploading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.button--uploading::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 0.5rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Bulk Actions */
.bulk-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}

.bulk-actions-bar__info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #e0e7ff;
}

.bulk-actions-bar__info span {
  color: #c7d2fe;
  font-weight: 700;
}

.bulk-actions-bar__buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.file-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #6366f1;
  border-radius: 4px;
}

.file-checkbox--header {
  width: 20px;
  height: 20px;
}

.button--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  height: auto;
}

.button--danger {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.button--danger:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
  transform: translateY(-1px);
}

/* ==========================================================================
   SSH Key Upload - Paste or Upload Toggle
   ========================================================================== */

.ssh-key-input-selector {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.ssh-key-input-tab {
  background: none;
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
  position: relative;
}

.ssh-key-input-tab:hover {
  color: var(--text-primary);
  background: rgba(148, 163, 184, 0.05);
}

.ssh-key-input-tab--active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.ssh-key-input-tab--active:hover {
  background: none;
}

/* Upload Zone */
.ssh-key-upload-zone {
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  background: rgba(148, 163, 184, 0.03);
  transition: all 0.3s ease;
  position: relative;
}

.ssh-key-upload-zone:hover {
  border-color: var(--accent-color);
  background: rgba(59, 130, 246, 0.05);
}

.ssh-key-upload-zone--highlight {
  border-color: var(--accent-color);
  background: rgba(59, 130, 246, 0.1);
  border-style: solid;
}

.ssh-key-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  text-align: center;
}

.ssh-key-upload-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-color);
  opacity: 0.8;
}

.ssh-key-upload-text {
  font-size: 1rem;
  color: var(--text-primary);
}

.ssh-key-upload-text strong {
  color: var(--accent-color);
}

.ssh-key-upload-hint {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* File Info (shown after upload) */
.ssh-key-file-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
}

.ssh-key-file-info span {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

.ssh-key-file-remove {
  background: rgba(239, 68, 68, 0.1);
  border: none;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ssh-key-file-remove:hover {
  background: rgba(239, 68, 68, 0.2);
}

.quick-transfer-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.quick-transfer-header__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.quick-transfer-header__subtitle {
  margin: 0;
  color: var(--color-muted);
  max-width: 720px;
  font-size: 1rem;
}

.quick-transfer-layout {
  display: grid;
  gap: 24px;
}

@media (min-width: 992px) {
  .quick-transfer-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: flex-start;
  }
}

.quick-transfer-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quick-transfer-card__header {
  margin-bottom: -8px;
}

.quick-transfer-card__header h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 600;
}

.quick-transfer-card__header p {
  margin: 0;
  color: var(--color-muted);
}

.quick-transfer-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quick-transfer__dropzone {
  position: relative;
  border: 2px dashed rgba(148, 163, 184, 0.25);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  background: rgba(15, 23, 42, 0.55);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-transfer__dropzone:hover {
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.68);
  box-shadow: 0 12px 32px rgba(14, 23, 42, 0.25);
  transform: translateY(-2px);
}

.quick-transfer__dropzone--active {
  border-color: rgba(94, 234, 212, 0.6);
  background: rgba(15, 118, 110, 0.25);
  box-shadow: 0 20px 40px rgba(14, 116, 144, 0.25);
}

.quick-transfer__dropzone-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.quick-transfer__file-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.82);
}

.quick-transfer__file-name--ready {
  color: #5eead4;
}

.quick-transfer__dropzone-help {
  display: inline-block;
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.quick-transfer__mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  background: rgba(15, 23, 42, 0.6);
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.quick-transfer__mode-button {
  border: none;
  border-radius: 10px;
  padding: 14px 18px;
  background: transparent;
  color: rgba(226, 232, 240, 0.82);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.quick-transfer__mode-button:hover {
  background: rgba(59, 130, 246, 0.12);
  color: #bfdbfe;
}

.quick-transfer__mode-button--active {
  background: rgba(59, 130, 246, 0.25);
  color: #e0f2fe;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.quick-transfer__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quick-transfer__new-header {
  margin-bottom: 16px;
}

.quick-transfer__new-header h3 {
  margin: 0 0 6px;
  font-size: 1.125rem;
  font-weight: 600;
}

.quick-transfer__new-header p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.quick-transfer__new-form {
  padding: 24px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quick-transfer__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-transfer__footnote {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.quick-transfer__empty-existing {
  padding: 16px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px dashed rgba(148, 163, 184, 0.3);
  color: var(--color-muted);
  font-size: 0.95rem;
}

.quick-transfer-connections {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quick-transfer-connections__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quick-transfer-connections__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.quick-transfer-connections__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.quick-transfer-connections__item {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  padding: 18px;
  background: rgba(15, 23, 42, 0.5);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quick-transfer-connections__item-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quick-transfer-connections__icon {
  font-size: 1.8rem;
}

.quick-transfer-connections__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.quick-transfer-connections__badge {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
}

.quick-transfer-connections__badge--active {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.quick-transfer-connections__badge--inactive {
  background: rgba(148, 163, 184, 0.2);
  color: rgba(148, 163, 184, 0.9);
}

.quick-transfer-connections__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 0;
}

.quick-transfer-connections__meta dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(148, 163, 184, 0.75);
  margin-bottom: 4px;
}

.quick-transfer-connections__meta dd {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.9);
  font-weight: 500;
}

.quick-transfer-connections__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quick-transfer-connections__actions .button {
  width: 100%;
  justify-content: center;
}

.quick-transfer-connections__empty {
  text-align: center;
  padding: 40px 20px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px dashed rgba(148, 163, 184, 0.22);
}

.quick-transfer-connections__empty-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.quick-transfer-connections__empty-title {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 600;
}

.quick-transfer-connections__empty-text {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .ssh-key-upload-zone {
    padding: 1.5rem 1rem;
  }

  .ssh-key-upload-icon {
    width: 36px;
    height: 36px;
  }

  .ssh-key-input-tab {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
}

/* ================================================
   Legal Pages (Privacy, Terms, Support)
   ================================================ */

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  background: var(--color-bg);
  min-height: 100vh;
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--color-border);
}

.legal-header h1 {
  margin: 0 0 12px 0;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.legal-updated {
  margin: 0;
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 500;
}

.legal-content {
  color: var(--color-text);
  line-height: 1.8;
}

.legal-content section {
  margin-bottom: 40px;
}

.legal-content h2 {
  margin: 32px 0 16px 0;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.legal-content h3 {
  margin: 24px 0 12px 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.legal-content p {
  margin: 0 0 16px 0;
  color: #e2e8f0;
  font-size: 1rem;
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  margin: 16px 0;
  padding-left: 24px;
  color: #e2e8f0;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: #e2e8f0;
}

.legal-content strong {
  color: var(--color-text);
  font-weight: 600;
}

.legal-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.legal-content a:hover,
.legal-content a:focus {
  color: var(--color-accent-dark);
}

.legal-content dl {
  margin: 24px 0;
}

.legal-content dt {
  font-weight: 600;
  color: var(--color-text);
  margin-top: 16px;
  margin-bottom: 8px;
}

.legal-content dd {
  margin-left: 0;
  margin-bottom: 16px;
  color: #e2e8f0;
}

/* Responsive legal pages */
@media (max-width: 768px) {
  .legal-container {
    padding: 32px 20px 60px;
  }

  .legal-header h1 {
    font-size: 2rem;
  }

  .legal-content h2 {
    font-size: 1.5rem;
  }

  .legal-content h3 {
    font-size: 1.1rem;
  }
}

/* ========================================
   Admin Dashboard Styles
   ======================================== */

/* Stats Grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s ease;
}

.admin-stat-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.admin-stat-card__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.admin-stat-card__content {
  flex: 1;
}

.admin-stat-card__label {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.admin-stat-card__value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

/* Charts Grid */
.admin-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.admin-chart-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.admin-chart-card--full {
  grid-column: 1 / -1;
}

.admin-chart-card__header {
  margin-bottom: 24px;
}

.admin-chart-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 4px 0;
}

.admin-chart-card__subtitle {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0;
}

.admin-chart-card__body {
  flex: 1;
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-chart-card__body canvas {
  max-height: 400px;
  width: 100% !important;
  height: auto !important;
}

/* Responsive Admin Dashboard */
@media (max-width: 1024px) {
  .admin-charts-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-chart-card--full {
    grid-column: 1;
  }
}

@media (max-width: 768px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-stat-card__value {
    font-size: 1.75rem;
  }
}
