.signup-card {
	width: 576px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;

	.signup-form-header {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 8px;
		margin-bottom: 32px;
		text-align: center;
		padding: 0 24px;
		width: 100%;

		.signup-header-icon {
			width: 32px;
			height: 32px;
			font-size: 24px;
			display: flex;
			align-items: center;
			justify-content: center;
		}

		.signup-header-title {
			font-family: Inter, sans-serif;
			font-size: 18px;
			font-weight: 600;
			line-height: 1;
			letter-spacing: 0;
			color: var(--levels-l1-foreground, #eceef2);
			margin: 0 !important;
		}

		.signup-header-subtitle {
			font-family: Inter, sans-serif;
			font-size: 13px;
			font-weight: 400;
			line-height: 20px;
			letter-spacing: -0.065px;
			color: var(--semantic-secondary-foreground, #adb4c2);
			max-width: 360px;
			margin: 0 !important;
			text-align: center;
		}
	}

	.signup-form {
		width: 100%;

		.signup-form-container {
			width: 100%;
			background: var(--semantic-secondary-background, #121317);
			border: 1px solid var(--semantic-secondary-border, #23262e);
			border-radius: 4px;
			padding: 24px;

			.signup-form-fields {
				width: 100%;
				display: flex;
				flex-direction: column;
				gap: 24px;
			}

			.signup-field-container {
				display: flex;
				flex-direction: column;
				gap: 12px;
			}

			.signup-form-input,
			.signup-antd-input {
				height: 32px;
				width: 100%;
				border-radius: 2px;

				&.ant-input,
				&.ant-input-password,
				&.ant-input-affix-wrapper {
					height: 32px;
					border-radius: 2px;
					background: var(--levels-l3-background, #23262e);
					border-color: var(--levels-l3-border, #2c303a);
				}

				&.ant-input-affix-wrapper {
					.ant-input {
						height: auto;
						background: transparent;
					}
				}
			}

			.signup-form-input {
				height: 32px;
				background: var(--levels-l3-background, #23262e);
				border: 1px solid var(--levels-l3-border, #2c303a);
				border-radius: 2px;
				padding: 6px 8px;
				font-family: Inter, sans-serif;
				font-size: 13px;
				font-weight: 400;
				line-height: 1;
				letter-spacing: -0.065px;
				color: var(--levels-l1-foreground, #eceef2);

				&::placeholder {
					color: var(--levels-l3-foreground, #747b8b);
				}

				&:hover {
					border-color: var(--levels-l3-border, #2c303a);
				}

				&:focus {
					border-color: var(--semantic-primary-background, #4e74f8);
					box-shadow: none;
				}
			}
		}

		.signup-error-callout,
		.signup-info-callout {
			margin-top: 24px;
		}

		.signup-error-callout {
			background: rgba(229, 72, 77, 0.1);
			border: 1px solid rgba(229, 72, 77, 0.2);
			border-radius: 4px;
			animation: horizontal-shaking 300ms ease-out;
		}

		.signup-info-message {
			color: var(--semantic-secondary-foreground);
			font-size: 11px;
			font-weight: 400;
			line-height: 1.45;
			margin: 24px 0 0 0;
		}

		.signup-form-actions {
			margin-top: 24px;
			display: flex;
			width: 100%;

			.signup-submit-button {
				width: 100%;
			}
		}

		.ant-form-item {
			margin-bottom: 0;
		}
	}

	@media (max-width: 768px) {
		width: 100%;
		padding: 0 16px;

		.signup-form-header {
			padding: 0;
		}
	}
}

.lightMode {
	.signup-card {
		.signup-form-header {
			.signup-header-icon {
				color: var(--text-ink-500);
			}

			.signup-header-title {
				color: var(--text-ink-500);
			}

			.signup-header-subtitle {
				color: var(--text-neutral-light-200, #80828d);
			}
		}

		.signup-form {
			.signup-form-container {
				background: var(--bg-base-white, #ffffff);
				border: 1px solid var(--bg-vanilla-300, #e9e9e9);

				.signup-form-input,
				.signup-antd-input {
					&.ant-input,
					&.ant-input-password,
					&.ant-input-affix-wrapper {
						background: var(--bg-vanilla-200, #f5f5f5);
						border-color: var(--bg-vanilla-300, #e9e9e9);
						color: var(--text-ink-500);
					}

					&::placeholder {
						color: var(--text-neutral-light-200, #80828d);
					}

					&:focus {
						border-color: var(--semantic-primary-background, #4e74f8);
					}
				}

				.signup-form-input {
					background: var(--bg-vanilla-200, #f5f5f5);
					border-color: var(--bg-vanilla-300, #e9e9e9);
					color: var(--text-ink-500);

					&::placeholder {
						color: var(--text-neutral-light-200, #80828d);
					}

					&:focus {
						border-color: var(--semantic-primary-background, #4e74f8);
					}
				}
			}

			.signup-info-message {
				color: var(--text-neutral-light-200, #80828d);
			}
		}
	}
}

@keyframes horizontal-shaking {
	0% {
		transform: translateX(0);
	}
	25% {
		transform: translateX(5px);
	}
	50% {
		transform: translateX(-5px);
	}
	75% {
		transform: translateX(5px);
	}
	100% {
		transform: translateX(0);
	}
}
