/* Public Sign-in — matches Claude Design SignIn.html */

.amzt-app.amzt-signin {
	--amzt-bg: #0A0B10;
	--amzt-surface: #14161F;
	--amzt-surface-2: #1B1E2A;
	--amzt-surface-3: #242836;
	--amzt-border: rgba(255, 255, 255, 0.08);
	--amzt-border-2: rgba(255, 255, 255, 0.14);
	--amzt-text: #ECEDF2;
	--amzt-muted: #8B90A4;
	--amzt-faint: #5A5F72;
	--amzt-accent: #7B61FF;
	--amzt-accent-2: #C15CFF;
	--amzt-grad: linear-gradient(135deg, #7B61FF, #C15CFF);
	--amzt-ok: #34D399;

	padding: 0;
	border-radius: 0;
	min-height: 100vh;
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: var(--amzt-text);
	background: var(--amzt-bg);
	-webkit-font-smoothing: antialiased;
	overflow: hidden;
}

body.amzt-has-studio .amzt-app.amzt-signin {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: 100vh;
}

.amzt-si-brand {
	position: relative;
	overflow: hidden;
	padding: 44px 48px;
	display: flex;
	flex-direction: column;
	background:
		radial-gradient(900px 520px at 20% 8%, rgba(123, 97, 255, 0.22), transparent 58%),
		radial-gradient(760px 520px at 96% 96%, rgba(193, 92, 255, 0.16), transparent 60%),
		linear-gradient(160deg, #0C0E15, #0A0B10);
}

.amzt-si-logo-row {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.amzt-si-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: var(--amzt-grad);
	color: #fff;
	box-shadow: 0 10px 26px -8px var(--amzt-accent);
}

.amzt-si-logo-img {
	width: 42px;
	height: 42px;
	border-radius: 13px;
	object-fit: contain;
	background: #fff;
}

.amzt-si-brand-name {
	font-family: "Bricolage Grotesque", "Manrope", sans-serif;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}

.amzt-si-hero {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 430px;
	padding: 36px 0;
	position: relative;
	z-index: 2;
}

.amzt-si-pill {
	display: inline-block;
	align-self: flex-start;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--amzt-accent-2);
	border: 1px solid var(--amzt-border);
	border-radius: 99px;
	padding: 6px 13px;
	margin-bottom: 22px;
}

.amzt-si-title {
	font-family: "Bricolage Grotesque", "Manrope", sans-serif !important;
	font-size: clamp(32px, 4vw, 46px) !important;
	font-weight: 800 !important;
	line-height: 1.02 !important;
	letter-spacing: -0.03em;
	color: #fff !important;
	margin: 0 0 16px !important;
}

.amzt-si-lead {
	font-size: 16px;
	color: var(--amzt-muted);
	margin: 0 0 30px;
	max-width: 420px;
}

.amzt-si-bullets {
	display: flex;
	flex-direction: column;
	gap: 13px;
}

.amzt-si-bullet {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14.5px;
	color: var(--amzt-text);
}

.amzt-si-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: rgba(52, 211, 153, 0.14);
	color: var(--amzt-ok);
	flex: none;
}

.amzt-si-montage {
	display: flex;
	align-items: flex-end;
	gap: 20px;
	padding-top: 14px;
	position: relative;
	z-index: 2;
}

.amzt-si-thumb {
	flex: 1;
	max-width: 216px;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	box-shadow: 0 26px 54px -22px rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: flex-end;
	padding: 14px;
	overflow: hidden;
	position: relative;
	animation: amzt-si-float 7s ease-in-out infinite;
}

.amzt-si-thumb::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 76% 20%, rgba(255, 255, 255, 0.3), transparent 56%);
}

.amzt-si-thumb strong {
	position: relative;
	font-family: "Bricolage Grotesque", "Manrope", sans-serif;
	font-weight: 800;
	font-size: 21px;
	color: #fff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	text-transform: uppercase;
	letter-spacing: -0.01em;
}

.amzt-si-thumb-a {
	background: linear-gradient(135deg, #F00000, #DC281E);
	transform: rotate(-5deg);
}

.amzt-si-thumb-b {
	max-width: 196px;
	padding: 13px;
	margin-bottom: 22px;
	background: linear-gradient(135deg, #11998E, #38EF7D);
	transform: rotate(6deg);
	animation-duration: 8s;
	animation-delay: 0.6s;
}

.amzt-si-thumb-b strong {
	font-size: 18px;
}

@keyframes amzt-si-float {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -10px; }
}

.amzt-si-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 22px;
	padding: 40px 30px;
	background: var(--amzt-surface);
	border-left: 1px solid var(--amzt-border);
	overflow-y: auto;
}

/* App mode hides the theme header, so the sign-in screen carries the links. */
.amzt-si-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 18px;
}

.amzt-si-nav a {
	font-size: 13px;
	font-weight: 600;
	color: var(--amzt-muted);
	text-decoration: none;
}

.amzt-si-nav a:hover { color: var(--amzt-text); }

.amzt-si-card {
	width: 100%;
	max-width: 360px;
	animation: amzt-si-fade 0.3s ease;
}

@keyframes amzt-si-fade {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

.amzt-si-tabs {
	display: flex;
	gap: 4px;
	padding: 4px;
	background: var(--amzt-surface-2);
	border: 1px solid var(--amzt-border);
	border-radius: 13px;
	margin-bottom: 28px;
}

.amzt-si-tab {
	flex: 1;
	padding: 9px;
	border: 0 !important;
	border-radius: 10px;
	font: inherit;
	font-weight: 700;
	font-size: 13px;
	cursor: pointer;
	transition: 0.14s;
	background: transparent;
	color: var(--amzt-muted);
	outline: none !important;
	box-shadow: none !important;
}

.amzt-si-tab.is-active {
	background: var(--amzt-grad) !important;
	color: #fff !important;
	border: 0 !important;
}

.amzt-si-wp {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px;
	border: 1px solid var(--amzt-border-2) !important;
	border-radius: 12px;
	background: var(--amzt-surface-2) !important;
	color: var(--amzt-text) !important;
	font: inherit;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
	outline: none !important;
	box-shadow: none !important;
	transition: border-color 0.14s;
}

.amzt-si-wp:hover,
.amzt-si-wp:focus {
	border-color: var(--amzt-accent) !important;
	color: var(--amzt-text) !important;
	outline: none !important;
}

.amzt-si-heading {
	font-family: "Bricolage Grotesque", "Manrope", sans-serif !important;
	font-size: 25px !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em;
	color: #fff !important;
	margin: 0 0 6px !important;
}

.amzt-si-sub {
	font-size: 14px;
	color: var(--amzt-muted);
	margin: 0 0 24px;
}

.amzt-si-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.amzt-si-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.amzt-si-field label {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--amzt-muted);
}

.amzt-si-label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.amzt-si-forgot {
	font-size: 12px;
	color: var(--amzt-accent-2);
	text-decoration: none;
}

.amzt-si-forgot:hover {
	color: #fff;
}

.amzt-si-field input {
	width: 100%;
	background: var(--amzt-surface-2);
	border: 1px solid var(--amzt-border);
	color: var(--amzt-text);
	border-radius: 12px;
	padding: 12px 14px;
	font: inherit;
	font-size: 14px;
	outline: none;
	box-sizing: border-box;
}

.amzt-si-field input:focus {
	border-color: var(--amzt-accent);
	box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.18);
}

.amzt-si-pass-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.amzt-si-pass-wrap input {
	padding-right: 44px;
}

.amzt-si-eye {
	position: absolute;
	right: 6px;
	display: inline-flex;
	padding: 8px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--amzt-muted);
	cursor: pointer;
}

.amzt-si-eye:hover {
	color: var(--amzt-text);
}

.amzt-si-hint {
	font-size: 11.5px;
	color: var(--amzt-faint);
}

.amzt-si-submit {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px;
	border: 0 !important;
	border-radius: 12px;
	background: var(--amzt-grad) !important;
	color: #fff !important;
	font: inherit;
	font-weight: 700;
	font-size: 14.5px;
	cursor: pointer;
	box-shadow: 0 14px 30px -13px var(--amzt-accent) !important;
	outline: none !important;
	margin-top: 5px;
	text-decoration: none;
	box-sizing: border-box;
	transition: filter 0.14s, transform 0.14s;
}

.amzt-si-submit:hover,
.amzt-si-submit:focus {
	filter: brightness(1.08);
	transform: translateY(-1px);
	color: #fff !important;
	border: 0 !important;
	outline: none !important;
	box-shadow: 0 14px 30px -13px var(--amzt-accent) !important;
}

.amzt-si-submit:disabled {
	opacity: 0.7;
	cursor: wait;
	transform: none;
}

.amzt-si-or {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 22px 0;
}

.amzt-si-or span {
	flex: 1;
	height: 1px;
	background: var(--amzt-border);
}

.amzt-si-or em {
	font-style: normal;
	font-size: 11.5px;
	color: var(--amzt-faint);
	font-weight: 600;
}

.amzt-si-foot {
	font-size: 13px;
	color: var(--amzt-muted);
	margin: 22px 0 0;
	text-align: center;
}

.amzt-si-swap {
	appearance: none;
	border: 0;
	background: none;
	padding: 0;
	font: inherit;
	font-size: inherit;
	color: var(--amzt-accent-2);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.amzt-si-swap:hover {
	color: #fff;
}

.amzt-lp-auth-note {
	margin: 0;
	font-size: 13px;
	color: var(--amzt-ok);
}

.amzt-lp-auth-note.is-error {
	color: #FB7185;
}

.amzt-lp-hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

.amzt-si-toast {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 1000;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 17px;
	border-radius: 13px;
	background: var(--amzt-surface-2);
	border: 1px solid var(--amzt-border-2);
	color: var(--amzt-text);
	font-size: 13.5px;
	font-weight: 600;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}

.amzt-si-toast::before {
	content: "";
	display: inline-flex;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--amzt-grad);
	flex: none;
}

@media (max-width: 900px) {
	.amzt-app.amzt-signin {
		grid-template-columns: 1fr;
	}

	.amzt-si-brand {
		padding: 28px 24px 20px;
		min-height: auto;
	}

	.amzt-si-hero {
		padding: 24px 0 12px;
	}

	.amzt-si-montage {
		display: none;
	}

	.amzt-si-panel {
		border-left: 0;
		border-top: 1px solid var(--amzt-border);
		padding: 28px 22px 40px;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.amzt-si-thumb { animation: none; }
	.amzt-si-card { animation: none; }
}
