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

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

		.reset-password-header-icon {
			display: flex;
			align-items: center;
			justify-content: center;
			margin-bottom: 8px;
			color: var(--semantic-primary-foreground);
		}

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

		.reset-password-header-subtitle {
			font-family: Inter, sans-serif;
			font-size: 13px;
			font-weight: 400;
			line-height: 20px;
			letter-spacing: -0.065px;
			color: var(--l2-foreground);
			margin: 0 !important;
			text-align: center;
		}

		.reset-password-version-badge {
			margin-top: 8px;
			padding: 4px 12px;
			border-radius: 4px;
			background: var(--l2-background);
			border: 1px solid var(--l1-border);
			font-size: 11px;
			font-weight: 400;
			line-height: 1.45;
			color: var(--l2-foreground);
			text-align: center;
		}
	}

	.reset-password-form {
		width: 100%;

		.reset-password-form-container {
			width: 100%;
			background: var(--l1-background);
			border: 1px solid var(--l1-border);
			border-radius: 4px;
			padding: 24px;

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

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

			.reset-password-form-input {
				height: 32px;
				width: 100%;
				border-radius: 2px;

				&.ant-input,
				&.ant-input-password,
				&.ant-input-affix-wrapper {
					height: 32px;
					border-radius: 2px;
					background: var(--l2-background);
					border-color: var(--l2-border);
					color: var(--l2-foreground);
				}

				&.ant-input-affix-wrapper {
					.ant-input {
						height: auto;
						background: transparent;
						color: var(--l1-foreground);
					}
				}

				&::placeholder {
					color: var(--l3-foreground);
				}

				&:focus {
					border-color: var(--primary);
				}
			}
		}

		.reset-password-error-callout {
			margin-top: 24px;
			background: color-mix(in srgb, var(--danger-background) 10%, transparent);
			border: 1px solid
				color-mix(in srgb, var(--danger-background) 20%, transparent);
			border-radius: 4px;
			animation: horizontal-shaking 300ms ease-out;
		}

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

			.reset-password-submit-button {
				width: 100%;
			}
		}

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

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

		.reset-password-header {
			padding: 0;
		}
	}
}

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